[9272] Revert "[9265] * Call Database::ThreadStart()/ThreadEnd() for all DBs."

This reverts commit af146f14c0999eed0e293bc0595a04e62df54f3e.

Not need call this function more that one per thread.
This commit is contained in:
VladimirMangos 2010-01-30 17:59:18 +03:00
parent a24320d4b5
commit df70a2c81d
4 changed files with 3 additions and 16 deletions

View file

@ -42,9 +42,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();
uint32 realCurrTime = 0;
@ -93,6 +90,4 @@ void WorldRunnable::run()
///- End the database thread
WorldDatabase.ThreadEnd(); // free mySQL thread resources
CharacterDatabase.ThreadEnd();
loginDatabase.ThreadEnd();
}