Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString

fixes #11635
This commit is contained in:
Michael Friedrich 2016-04-20 18:21:39 +02:00 committed by Gunnar Beutner
parent 2836ffab50
commit d653b48c67
1 changed files with 2 additions and 1 deletions

View File

@ -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);