diff --git a/lib/db_ido/dbevents.cpp b/lib/db_ido/dbevents.cpp index 1035a7e6e..9679bc2fe 100644 --- a/lib/db_ido/dbevents.cpp +++ b/lib/db_ido/dbevents.cpp @@ -474,7 +474,7 @@ void DbEvents::AddDowntime(const Downtime::Ptr& downtime) void DbEvents::AddDowntimeHistory(const Downtime::Ptr& downtime) { std::vector queries; - AddDowntimeInternal(queries, downtime, false); + AddDowntimeInternal(queries, downtime, true); DbObject::OnMultipleQueries(queries); } diff --git a/lib/db_ido_mysql/idomysqlconnection.cpp b/lib/db_ido_mysql/idomysqlconnection.cpp index 3a20e47ac..7df26049e 100644 --- a/lib/db_ido_mysql/idomysqlconnection.cpp +++ b/lib/db_ido_mysql/idomysqlconnection.cpp @@ -821,6 +821,7 @@ void IdoMysqlConnection::InternalExecuteMultipleQueries(const std::vector