aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore/WorldRunnable.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2010-04-05 13:08:47 +0200
committerXTZGZoReX <none@none>2010-04-05 13:08:47 +0200
commit7c277c87d8dffe89deee84592e337974fe0ef96e (patch)
tree4a7f53267c567f4f6377305d31b8b76d0f940fd6 /src/trinitycore/WorldRunnable.cpp
parenta795a1110c6b62df841b8a48d8e634ede255c486 (diff)
* Only call Database::ThreadStart()/ThreadEnd() once per thread.
* Some cleanups in MapUpdater/DelayExecutor. --HG-- branch : trunk
Diffstat (limited to 'src/trinitycore/WorldRunnable.cpp')
-rw-r--r--src/trinitycore/WorldRunnable.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/trinitycore/WorldRunnable.cpp b/src/trinitycore/WorldRunnable.cpp
index 007107f1eb8..c674ddbc06f 100644
--- a/src/trinitycore/WorldRunnable.cpp
+++ b/src/trinitycore/WorldRunnable.cpp
@@ -45,8 +45,6 @@ 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();
@@ -96,6 +94,4 @@ void WorldRunnable::run()
///- End the database thread
WorldDatabase.ThreadEnd(); // free mySQL thread resources
- CharacterDatabase.ThreadEnd();
- loginDatabase.ThreadEnd();
}