I've gone through the mailing list archives on the subject of persistent
connections, trying to figure out how to end the threads that mysqld
creates, once I'm done.
How would I set a program to have NON-persistent connections?
I was planning to get the thread id, and use mysql_kill in the following
manner:
unsigned long thread_id =0;
assert (mysql_errno(connptr) == 0);
thread_id = mysql_thread_id (connptr); <--- seg fault here
I have attempted this with the root user, and it still segfaults.
I am running mysql-3.23.33, compiled from source with
prefix=/usr/local/mysql/
enable-thread-safe-client
with-pthreads
with-debug
and I am linking against mysqlclient_r
Running under Redhat 6.1
Any suggestions?
Thanx,
Brian K. Hlady
[EMAIL PROTECTED]
---------------------------------------------------------------------
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