mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
DB IDO: PArtially revert change for *group_members
Otherwise the index breaks. refs #11103
This commit is contained in:
parent
a5626bee5e
commit
5b30c9ed2c
lib/db_ido
@ -197,6 +197,7 @@ void HostDbObject::OnConfigUpdate(void)
|
||||
query1.Category = DbCatConfig;
|
||||
query1.WhereCriteria = new Dictionary();
|
||||
query1.WhereCriteria->Set("instance_id", 0); /* DbConnection class fills in real ID */
|
||||
query1.WhereCriteria->Set("hostgroup_id", DbValue::FromObjectInsertID(group));
|
||||
query1.WhereCriteria->Set("host_object_id", host);
|
||||
queries.push_back(query1);
|
||||
|
||||
|
@ -196,6 +196,7 @@ void ServiceDbObject::OnConfigUpdate(void)
|
||||
query1.Category = DbCatConfig;
|
||||
query1.WhereCriteria = new Dictionary();
|
||||
query1.WhereCriteria->Set("instance_id", 0); /* DbConnection class fills in real ID */
|
||||
query1.WhereCriteria->Set("servicegroup_id", DbValue::FromObjectInsertID(group));
|
||||
query1.WhereCriteria->Set("service_object_id", service);
|
||||
queries.push_back(query1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user