mysql_library_init() and threading

2007-11-27 Thread Angus
n thread doesn't make any MySQL calls. So the only issue I should be facing is getting the connection to work in a different thread, and not worry about synchronization. This is the code I have my worker thread: verify(mysql_library_init(-1, NULL, NULL) == 0); verify(mysql_thre

Re: mysql_library_init()

2005-10-30 Thread Paul DuBois
At 10:23 -0500 10/30/05, Bruce Martin wrote: I noticed my client crashes when I try to connect to MySQL 5 server. My client was written against the MySQL 4 C API's. So I looked at the new Docs for MySQL 5 C API's and noticed a new function, mysql_library_init(). I see it has 3 parame

mysql_library_init()

2005-10-30 Thread Bruce Martin
I noticed my client crashes when I try to connect to MySQL 5 server. My client was written against the MySQL 4 C API's. So I looked at the new Docs for MySQL 5 C API's and noticed a new function, mysql_library_init(). I see it has 3 parameters. int mysql_library_init(int argc, c