mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 16:14:09 +02:00
Use ASSERT() instead of assert().
This commit is contained in:
parent
bd5e452c6f
commit
079567ea72
@ -358,7 +358,7 @@ void MysqlDbConnection::ExecuteQuery(const DbQuery& query)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((query.Type & DbQueryInsert) && (query.Type & DbQueryUpdate)) {
|
if ((query.Type & DbQueryInsert) && (query.Type & DbQueryUpdate)) {
|
||||||
assert(query.Object);
|
ASSERT(query.Object);
|
||||||
|
|
||||||
if (GetInsertID(query.Object).IsValid())
|
if (GetInsertID(query.Object).IsValid())
|
||||||
type = DbQueryUpdate;
|
type = DbQueryUpdate;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user