mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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;
|
bool upsert = false;
|
||||||
|
|
||||||
if ((query.Type & DbQueryInsert) && (query.Type & DbQueryUpdate)) {
|
if ((type & DbQueryInsert) && (type & DbQueryUpdate)) {
|
||||||
bool hasid = false;
|
bool hasid = false;
|
||||||
|
|
||||||
ASSERT(query.Object);
|
ASSERT(query.Object);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user