C-API: mysql_thread_id mysql_close and non-persistent connections

2001-04-06 Thread Hlady, Brian
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 follo

MySQL C API: Problem with load_defaults

2001-01-20 Thread Hlady, Brian
I'm using the code found on page 245 - 247 of Paul Dubois' book, MySQL. When I attempt to make it under Code Crusader, I get the error found below. gcc -g -Wall -Werror -I- -I. -I/usr/local/include/mysql -c common.c -o common.o gcc -g -Wall -Werror -I- -I. -I/usr/local/include/mysql -c clien