mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02: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
lib
@ -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…
x
Reference in New Issue
Block a user