From 8918b38deae167df4a5648f6553090b228bdee5c Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 20 Apr 2021 19:07:20 +0200 Subject: [PATCH] DbConnection#Pause(): also update is_currently_running and process_id refs #8727 --- lib/db_ido/dbconnection.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/db_ido/dbconnection.cpp b/lib/db_ido/dbconnection.cpp index 60aab5fde..218f509d4 100644 --- a/lib/db_ido/dbconnection.cpp +++ b/lib/db_ido/dbconnection.cpp @@ -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;