From 40c0bfad2307110d3d79f4aa1f213ad82f5cad2f Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 20 Apr 2021 18:11:52 +0200 Subject: [PATCH] DbConnection#Pause(): call overridden method as last step Otherwise it marks the object as paused and the other steps become no-ops. refs #8727 --- lib/db_ido/dbconnection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/db_ido/dbconnection.cpp b/lib/db_ido/dbconnection.cpp index cd854bddf..891baa113 100644 --- a/lib/db_ido/dbconnection.cpp +++ b/lib/db_ido/dbconnection.cpp @@ -87,8 +87,6 @@ void DbConnection::Resume() void DbConnection::Pause() { - ConfigObject::Pause(); - Log(LogInformation, "DbConnection") << "Pausing IDO connection: " << GetName(); @@ -113,6 +111,8 @@ void DbConnection::Pause() ExecuteQuery(query1); NewTransaction(); + + ConfigObject::Pause(); } void DbConnection::InitializeDbTimer()