mirror of https://github.com/Icinga/icinga2.git
Fix stack overflow in IdoPgsqlConnection::InternalExecuteQuery.
Fixes #5610
This commit is contained in:
parent
0e2e031c23
commit
e6d405b4a4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue