In MySQL C++ API
http://www.mysql.com/Downloads/mysql++/mysql++-1.7.1-win32-borland.zip ,
http://www.mysql.com/Downloads/mysql++/mysql++-1.7.1-1-win32-vc++.zip.
The head file connection1.hh has two problems.
1. Function Connection::close()
void close(void) { mysql_close(&mysql); }
2. Function Connection::purge()
void purge (void) { mysql_close(&mysql); },

Maybe change to
Connection::close()
void close(void) {is_connected = false; mysql_close(&mysql);}
&
Connection::purge()
void purge (void) {is_connected = false; mysql_close(&mysql);}

============================= end of description



sql,
qurey


---------------------------------------------------------------------
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