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.
> 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 second B thread.
> Main thread just runs these threads.
> 
> Thread A inserts just one record, sleep(10) and commit. ( Use transaction
)
> 
> Thread B just select * from foo.
> 
> So simple.
> 
> When executes this sample, there is segmentation fault.
> 
> What's wrong with that?
> 
> For reference I add my source.

Are you sure you don't want each thread to have a separate connection
to the MySQL server?

Jeremy
-- 
Jeremy D. Zawodny, <[EMAIL PROTECTED]>
Technical Yahoo - Yahoo Finance
Desk: (408) 349-7878   Fax: (408) 349-5454   Cell: (408) 685-5936

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to