Fix: Failed assertion in IdoPgsqlConnection::FieldToEscapedString

fixes #11635
This commit is contained in:
Michael Friedrich 2016-04-20 18:21:39 +02:00
parent 6cc72e68ec
commit d5c0d7366d
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);