Fix stack overflow in IdoPgsqlConnection::InternalExecuteQuery.

Fixes #5610
This commit is contained in:
Gunnar Beutner 2014-02-05 14:58:54 +01:00
parent 0e2e031c23
commit e6d405b4a4
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ void IdoPgsqlConnection::InternalExecuteQuery(const DbQuery& query, DbQueryType
bool upsert = false;
if ((query.Type & DbQueryInsert) && (query.Type & DbQueryUpdate)) {
if ((type & DbQueryInsert) && (type & DbQueryUpdate)) {
bool hasid = false;
ASSERT(query.Object);