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