Hi! 1.How i can detect if mysql server had been restarted within safe_masqld or is already dead before executing queries? In mysql.cc i found magic variable static bool connected. But it is set to false only when initialized and after mysql_close()... and the decision is seems to be based only upon the query failure. Just have no time to dig in it thoroughly, please, point me to the proper line. 2.When issuing a query within a thread on connection which has been set up in main thread shoud i mutex the query? In other words, can many queries use same connection simultaneously? Thenx!
--------------------------------------------------------------------- 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