DbConnection#Pause(): call overridden method as last step

Otherwise it marks the object as paused and the other steps become no-ops.

refs #8727
This commit is contained in:
Alexander A. Klimov 2021-04-20 18:11:52 +02:00
parent 8dc069dc24
commit 40c0bfad23
1 changed files with 2 additions and 2 deletions

View File

@ -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()