mirror of
https://github.com/Icinga/icinga2.git
synced 2026-04-23 07:07:00 -04:00
Merge pull request #8626 from Icinga/bugfix/recreate-object-invisible-ido-8584
Ido*sqlConnection#InternalDeactivateObject(): mark object inactive also in memory
This commit is contained in:
commit
b7efbd0bba
2 changed files with 4 additions and 0 deletions
|
|
@ -829,6 +829,8 @@ void IdoMysqlConnection::InternalDeactivateObject(const DbObject::Ptr& dbobj)
|
|||
|
||||
/* Note that we're _NOT_ clearing the db refs via SetReference/SetConfigUpdate/SetStatusUpdate
|
||||
* because the object is still in the database. */
|
||||
|
||||
SetObjectActive(dbobj, false);
|
||||
}
|
||||
|
||||
bool IdoMysqlConnection::FieldToEscapedString(const String& key, const Value& value, Value *result)
|
||||
|
|
|
|||
|
|
@ -643,6 +643,8 @@ void IdoPgsqlConnection::InternalDeactivateObject(const DbObject::Ptr& dbobj)
|
|||
|
||||
/* Note that we're _NOT_ clearing the db refs via SetReference/SetConfigUpdate/SetStatusUpdate
|
||||
* because the object is still in the database. */
|
||||
|
||||
SetObjectActive(dbobj, false);
|
||||
}
|
||||
|
||||
bool IdoPgsqlConnection::FieldToEscapedString(const String& key, const Value& value, Value *result)
|
||||
|
|
|
|||
Loading…
Reference in a new issue