mirror of https://github.com/Icinga/icinga2.git
Add missing lock.
This commit is contained in:
parent
a7548a5fae
commit
4306264217
|
@ -383,5 +383,6 @@ void MysqlDbConnection::ExecuteQuery(const DbQuery& query)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boost::mutex::scoped_lock lock(m_ConnectionMutex);
|
||||||
Query(qbuf.str());
|
Query(qbuf.str());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue