From 46438f9f92c52deef2c6f0ed35402885127eeeb7 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Thu, 19 Aug 2010 16:35:52 +0200 Subject: - Call mysql_thread_end() for every deleted MySQLConnection instance, should fix the ¨Error in my_thread_global_end(): X threads didn't exit¨ issue. (Thanks to Aokromes for testing) - Add some debug info to help trace down the other causes of the shutdown crash. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : trunk --- src/server/shared/Database/MySQLThreading.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/shared/Database/MySQLThreading.h') diff --git a/src/server/shared/Database/MySQLThreading.h b/src/server/shared/Database/MySQLThreading.h index 3c039a4d165..5671d3b2836 100644 --- a/src/server/shared/Database/MySQLThreading.h +++ b/src/server/shared/Database/MySQLThreading.h @@ -34,7 +34,7 @@ class MySQL static void Thread_Init() { mysql_thread_init(); - printf("Core thread with ID ["UI64FMTD"] initializing MySQL thread.", + printf("Core thread with ID ["UI64FMTD"] initializing MySQL thread.\n", (uint64)ACE_Based::Thread::currentId()); } @@ -45,7 +45,7 @@ class MySQL static void Thread_End() { mysql_thread_end(); - printf("Core thread with ID ["UI64FMTD"] shutting down MySQL thread.", + printf("Core thread with ID ["UI64FMTD"] shutting down MySQL thread.\n", (uint64)ACE_Based::Thread::currentId()); } }; -- cgit v1.2.3