From fb3eae54e96320317454cc0e0a24e9cf22915672 Mon Sep 17 00:00:00 2001 From: xuyunan Date: Tue, 9 Sep 2025 17:11:47 +0800 Subject: [PATCH] fix: db_delegate starttimer if-encrypt path Signed-off-by: xuyunan --- .../service/data_share/common/db_delegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/distributeddataservice/service/data_share/common/db_delegate.cpp b/services/distributeddataservice/service/data_share/common/db_delegate.cpp index 9e77bcbb4..2915b83f8 100644 --- a/services/distributeddataservice/service/data_share/common/db_delegate.cpp +++ b/services/distributeddataservice/service/data_share/common/db_delegate.cpp @@ -145,9 +145,9 @@ void DBDelegate::StartTimer(bool encrypt) dstTaskIdTemp = Executor::INVALID_TASK_ID; }; if (encrypt) { - stores_.DoActionIfEmpty(task); - } else { storesEncrypt_.DoActionIfEmpty(task); + } else { + stores_.DoActionIfEmpty(task); } }, std::chrono::seconds(INTERVAL), std::chrono::seconds(INTERVAL)); -- Gitee