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