mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-23 06:50:35 +00:00
update
Signed-off-by: yangliu <yangliu178@huawei.com>
This commit is contained in:
parent
0e357ad289
commit
1e1cc7e139
@ -816,7 +816,7 @@ bool KVDBServiceImpl::IsTripleAutoLaunch(
|
||||
if (storeMeta.bundleName == Bootstrap::GetInstance().GetProcessLabel()) {
|
||||
param.userId = storeMeta.user;
|
||||
}
|
||||
SetAutoLaunchParam(option, param);
|
||||
SetAutoLaunchParam(option, param, );
|
||||
isFindIdentifier = true;
|
||||
return isTripleIdentifierEqual;
|
||||
}
|
||||
@ -825,7 +825,8 @@ bool KVDBServiceImpl::IsTripleAutoLaunch(
|
||||
return false;
|
||||
}
|
||||
|
||||
void KVDBServiceImpl::SetAutoLaunchParam(DistributedDB::AutoLaunchOption &option, DistributedDB::AutoLaunchParam ¶m)
|
||||
void KVDBServiceImpl::SetAutoLaunchParam(DistributedDB::AutoLaunchOption &option,
|
||||
DistributedDB::AutoLaunchParam ¶m, StoreMetaData &storeMeta)
|
||||
{
|
||||
option.schema = storeMeta.schema;
|
||||
option.createDirByStoreIdOnly = true;
|
||||
|
@ -156,7 +156,8 @@ private:
|
||||
StoreMetaData &meta, bool &isFindIdentifier);
|
||||
int32_t DoTripleAutoLaunch(StoreMetaData &meta);
|
||||
DistributedDB::SecurityOption ConvertSecurity(int securityLevel);
|
||||
void SetAutoLaunchParam(DistributedDB::AutoLaunchOption &option, DistributedDB::AutoLaunchParam ¶m);
|
||||
void SetAutoLaunchParam(DistributedDB::AutoLaunchOption &option, DistributedDB::AutoLaunchParam ¶m,
|
||||
StoreMetaData &storeMeta);
|
||||
Status ConvertDbStatusNative(DBStatus status);
|
||||
static Factory factory_;
|
||||
ConcurrentMap<uint32_t, SyncAgent> syncAgents_;
|
||||
|
Loading…
Reference in New Issue
Block a user