Re: Threads and libmysqld
Posted by: Isabella Tan
Date: June 22, 2009 06:54PM

Problem resolved. All threads should call mysql_init(), mysql_options() and mysql_real_connect() to obtain their own MySQL object and own connection to the database in the thread procedure. Before the thread exits, it should call mysql_close() to disconnect.

Options: ReplyQuote


Subject
Written By
Posted
June 22, 2009 02:28AM
Re: Threads and libmysqld
June 22, 2009 06:54PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.