aboutsummaryrefslogtreecommitdiff
path: root/src/mangosd/WorldRunnable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mangosd/WorldRunnable.cpp')
-rw-r--r--src/mangosd/WorldRunnable.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mangosd/WorldRunnable.cpp b/src/mangosd/WorldRunnable.cpp
index 689b1d216a9..607b60684a9 100644
--- a/src/mangosd/WorldRunnable.cpp
+++ b/src/mangosd/WorldRunnable.cpp
@@ -49,6 +49,8 @@ void WorldRunnable::run()
{
///- Init new SQL thread for the world database
WorldDatabase.ThreadStart(); // let thread do safe mySQL requests (one connection call enough)
+ CharacterDatabase.ThreadStart();
+ LoginDatabase.ThreadStart();
sWorld.InitResultQueue();
uint32 realCurrTime = 0;
@@ -97,4 +99,6 @@ void WorldRunnable::run()
///- End the database thread
WorldDatabase.ThreadEnd(); // free mySQL thread resources
+ CharacterDatabase.ThreadStart();
+ LoginDatabase.ThreadEnd();
}