From 18dd07e79b4cfba8ff104bd53bcfe4c70f714516 Mon Sep 17 00:00:00 2001 From: yangliu Date: Tue, 19 Nov 2024 09:08:49 +0800 Subject: [PATCH] update Signed-off-by: yangliu --- .../distributeddataservice/service/kvdb/kvdb_service_impl.cpp | 2 +- .../distributeddataservice/service/kvdb/kvdb_service_impl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/distributeddataservice/service/kvdb/kvdb_service_impl.cpp b/services/distributeddataservice/service/kvdb/kvdb_service_impl.cpp index d2276fd52..ab8076ea6 100644 --- a/services/distributeddataservice/service/kvdb/kvdb_service_impl.cpp +++ b/services/distributeddataservice/service/kvdb/kvdb_service_impl.cpp @@ -826,7 +826,7 @@ bool KVDBServiceImpl::IsTripleAutoLaunch( } void KVDBServiceImpl::SetAutoLaunchParam(DistributedDB::AutoLaunchOption &option, - DistributedDB::AutoLaunchParam ¶m, StoreMetaData &storeMeta) + DistributedDB::AutoLaunchParam ¶m, const StoreMetaData &storeMeta) { option.schema = storeMeta.schema; option.createDirByStoreIdOnly = true; diff --git a/services/distributeddataservice/service/kvdb/kvdb_service_impl.h b/services/distributeddataservice/service/kvdb/kvdb_service_impl.h index 30dc0512e..f950d2a90 100644 --- a/services/distributeddataservice/service/kvdb/kvdb_service_impl.h +++ b/services/distributeddataservice/service/kvdb/kvdb_service_impl.h @@ -157,7 +157,7 @@ private: int32_t DoTripleAutoLaunch(StoreMetaData &meta); DistributedDB::SecurityOption ConvertSecurity(int securityLevel); void SetAutoLaunchParam(DistributedDB::AutoLaunchOption &option, DistributedDB::AutoLaunchParam ¶m, - StoreMetaData &storeMeta); + const StoreMetaData &storeMeta); Status ConvertDbStatusNative(DBStatus status); static Factory factory_; ConcurrentMap syncAgents_;