ido_mysql: Fix deadlock.

This commit is contained in:
Gunnar Beutner 2013-07-19 10:34:46 +02:00
parent 8a99019146
commit dfda90f744

View File

@ -73,6 +73,7 @@ void MysqlDbConnection::TxTimerHandler(void)
} }
void MysqlDbConnection::ReconnectTimerHandler(void) void MysqlDbConnection::ReconnectTimerHandler(void)
{
{ {
boost::mutex::scoped_lock lock(m_ConnectionMutex); boost::mutex::scoped_lock lock(m_ConnectionMutex);
@ -145,6 +146,7 @@ void MysqlDbConnection::ReconnectTimerHandler(void)
} }
Query("BEGIN"); Query("BEGIN");
}
UpdateAllObjects(); UpdateAllObjects();
} }