mirror of https://github.com/Icinga/icinga2.git
Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString
fixes #11635
This commit is contained in:
parent
6cc72e68ec
commit
d5c0d7366d
|
@ -600,7 +600,8 @@ bool IdoPgsqlConnection::FieldToEscapedString(const String& key, const Value& va
|
|||
if (DbValue::IsObjectInsertID(value)) {
|
||||
dbrefcol = GetInsertID(dbobjcol);
|
||||
|
||||
ASSERT(dbrefcol.IsValid());
|
||||
if (!dbrefcol.IsValid())
|
||||
return false;
|
||||
} else {
|
||||
dbrefcol = GetObjectID(dbobjcol);
|
||||
|
||||
|
|
Loading…
Reference in New Issue