mirror of https://github.com/Icinga/icinga2.git
parent
fb44744680
commit
091d79ea4a
lib
|
@ -600,6 +600,9 @@ void IdoMysqlConnection::InternalExecuteQuery(const DbQuery& query, DbQueryType
|
||||||
if (!m_Connected)
|
if (!m_Connected)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (query.Object && query.Object->GetObject()->GetExtension("agent_check").ToBool())
|
||||||
|
return;
|
||||||
|
|
||||||
std::ostringstream qbuf, where;
|
std::ostringstream qbuf, where;
|
||||||
int type;
|
int type;
|
||||||
|
|
||||||
|
|
|
@ -594,6 +594,9 @@ void IdoPgsqlConnection::InternalExecuteQuery(const DbQuery& query, DbQueryType
|
||||||
if (!m_Connection)
|
if (!m_Connection)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if (query.Object && query.Object->GetObject()->GetExtension("agent_check").ToBool())
|
||||||
|
return;
|
||||||
|
|
||||||
std::ostringstream qbuf, where;
|
std::ostringstream qbuf, where;
|
||||||
int type;
|
int type;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue