If you use a same MySQL handle for several threads you have to put
mutex locks around each {mysql_query() ..}
--
Regards,
__ ___ ___ __
/ |/ /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_,
Yes, I am!!!
-Original Message-
From: Jeremy Zawodny [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 13, 2001 1:13 PM
To: ¨öEA©¡¨¬¢¬
Cc: '[EMAIL PROTECTED]'
Subject: Re: InnoDB and Multithread
On Mon, Aug 13, 2001 at 01:03:38PM +0900, ½ÉÃæº¸ wrote:
>
> Hi, everyone.
On Mon, Aug 13, 2001 at 01:03:38PM +0900, ½ÉÃæº¸ wrote:
>
> Hi, everyone.
> I CREATE TABLE foo VALUE(name chare(20), email char(30)) type=InnoDB
> and I inserted some records.
>
> And then I made simple program using just two threads except main
> thread. Let's call the first A thread and the se