aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore
diff options
context:
space:
mode:
Diffstat (limited to 'src/trinitycore')
-rw-r--r--src/trinitycore/CliRunnable.cpp4
-rw-r--r--src/trinitycore/WorldRunnable.cpp4
2 files changed, 0 insertions, 8 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();
}
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();
}