aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Database/MySQLThreading.h
diff options
context:
space:
mode:
authorMachiavelli <none@none>2010-08-19 16:35:52 +0200
committerMachiavelli <none@none>2010-08-19 16:35:52 +0200
commit46438f9f92c52deef2c6f0ed35402885127eeeb7 (patch)
treea42729380270687f9f7c568ded4fd5e7fad99b82 /src/server/shared/Database/MySQLThreading.h
parent7d915911f9a5606127afd6f46a2427a9434fc6f3 (diff)
- 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. --HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Database/MySQLThreading.h')
-rw-r--r--src/server/shared/Database/MySQLThreading.h4
1 files changed, 2 insertions, 2 deletions
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());
}
};