mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-29 10:50:19 +02:00
ido_mysql: Fix deadlock.
This commit is contained in:
parent
8a99019146
commit
dfda90f744
@ -74,6 +74,7 @@ void MysqlDbConnection::TxTimerHandler(void)
|
||||
|
||||
void MysqlDbConnection::ReconnectTimerHandler(void)
|
||||
{
|
||||
{
|
||||
boost::mutex::scoped_lock lock(m_ConnectionMutex);
|
||||
|
||||
if (m_Connected) {
|
||||
@ -145,6 +146,7 @@ void MysqlDbConnection::ReconnectTimerHandler(void)
|
||||
}
|
||||
|
||||
Query("BEGIN");
|
||||
}
|
||||
|
||||
UpdateAllObjects();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user