mirror of https://github.com/Icinga/icinga2.git
parent
8e07a3a241
commit
5be3139b5e
|
@ -44,7 +44,7 @@ void IdoMysqlConnection::Start(void)
|
|||
|
||||
m_Connected = false;
|
||||
|
||||
m_QueryQueue.SetExceptionCallback(&IdoMysqlConnection::ExceptionHandler);
|
||||
m_QueryQueue.SetExceptionCallback(boost::bind(&IdoMysqlConnection::ExceptionHandler, this, _1));
|
||||
|
||||
m_TxTimer = boost::make_shared<Timer>();
|
||||
m_TxTimer->SetInterval(5);
|
||||
|
|
|
@ -44,7 +44,7 @@ void IdoPgsqlConnection::Start(void)
|
|||
|
||||
m_Connection = NULL;
|
||||
|
||||
m_QueryQueue.SetExceptionCallback(&IdoPgsqlConnection::ExceptionHandler);
|
||||
m_QueryQueue.SetExceptionCallback(boost::bind(&IdoPgsqlConnection::ExceptionHandler, this, _1));
|
||||
|
||||
m_TxTimer = boost::make_shared<Timer>();
|
||||
m_TxTimer->SetInterval(5);
|
||||
|
|
Loading…
Reference in New Issue