DbConnection#Pause(): also update is_currently_running and process_id

refs #8727
This commit is contained in:
Alexander A. Klimov 2021-04-20 19:07:20 +02:00
parent 3d8586ccec
commit 8918b38dea
1 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,9 @@ void DbConnection::Pause()
query1.Fields = new Dictionary({
{ "instance_id", 0 }, /* DbConnection class fills in real ID */
{ "program_end_time", DbValue::FromTimestamp(Utility::GetTime()) }
{ "program_end_time", DbValue::FromTimestamp(Utility::GetTime()) },
{ "is_currently_running", 0 },
{ "process_id", Empty }
});
query1.Priority = PriorityHigh;