aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore/CliRunnable.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/CliRunnable.cpp
parenta795a1110c6b62df841b8a48d8e634ede255c486 (diff)
* Only call Database::ThreadStart()/ThreadEnd() once per thread.
* Some cleanups in MapUpdater/DelayExecutor. --HG-- branch : trunk
Diffstat (limited to 'src/trinitycore/CliRunnable.cpp')
-rw-r--r--src/trinitycore/CliRunnable.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/trinitycore/CliRunnable.cpp b/src/trinitycore/CliRunnable.cpp
index f02fbe0849d..ef0f9b5cd3d 100644
--- a/src/trinitycore/CliRunnable.cpp
+++ b/src/trinitycore/CliRunnable.cpp
@@ -373,8 +373,6 @@ void CliRunnable::run()
{
///- Init new SQL thread for the world database (one connection call enough)
WorldDatabase.ThreadStart(); // let thread do safe mySQL requests
- CharacterDatabase.ThreadStart();
- loginDatabase.ThreadStart();
char commandbuf[256];
bool canflush = true;
@@ -444,6 +442,4 @@ void CliRunnable::run()
///- End the database thread
WorldDatabase.ThreadEnd(); // free mySQL thread resources
- CharacterDatabase.ThreadEnd();
- loginDatabase.ThreadEnd();
}