Various Cleanups (shared/Database/)

This commit is contained in:
Schmoozerd 2012-07-19 21:57:32 +02:00
parent 9753625fd1
commit c334cd5ea4
25 changed files with 508 additions and 508 deletions

View file

@ -32,9 +32,9 @@ SqlDelayThread::~SqlDelayThread()
void SqlDelayThread::run()
{
#ifndef DO_POSTGRESQL
#ifndef DO_POSTGRESQL
mysql_thread_init();
#endif
#endif
const uint32 loopSleepms = 10;
@ -49,16 +49,16 @@ void SqlDelayThread::run()
ProcessRequests();
if((loopCounter++) >= pingEveryLoop)
if ((loopCounter++) >= pingEveryLoop)
{
loopCounter = 0;
m_dbEngine->Ping();
}
}
#ifndef DO_POSTGRESQL
#ifndef DO_POSTGRESQL
mysql_thread_end();
#endif
#endif
}
void SqlDelayThread::Stop()