[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

@ -294,8 +294,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];
@ -354,6 +352,4 @@ void CliRunnable::run()
///- End the database thread
WorldDatabase.ThreadEnd(); // free mySQL thread resources
CharacterDatabase.ThreadEnd();
loginDatabase.ThreadEnd();
}