mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-27 17:10:42 +00:00
update
Signed-off-by: yangliu <yangliu178@huawei.com>
This commit is contained in:
parent
24a86f6751
commit
186f1aabe4
@ -400,7 +400,8 @@ bool KvStoreDataService::CompareTripleIdentifier(const std::string &accountId, c
|
||||
{
|
||||
std::vector<std::string> accountIds { accountId, "ohosAnonymousUid", "default" };
|
||||
for (auto &id : accountIds) {
|
||||
auto trueDualTuple = AppIdMappingConfigManager::GetInstance().FindTrueDualTuple(storeMeta.appId, storeMeta.user);
|
||||
auto trueDualTuple =
|
||||
AppIdMappingConfigManager::GetInstance().FindTrueDualTuple(storeMeta.appId,storeMeta.user);
|
||||
const std::string &itemTripleIdentifier =
|
||||
DistributedDB::KvStoreDelegateManager::GetKvStoreIdentifier(id, trueDualTuple.first,
|
||||
storeMeta.storeId, false);
|
||||
|
@ -172,7 +172,8 @@ private:
|
||||
|
||||
void LoadConfigs();
|
||||
|
||||
bool CompareTripleIdentifier(const std::string &accountId, const std::string &identifier, const StoreMetaData &storeMeta);
|
||||
bool CompareTripleIdentifier(const std::string &accountId, const std::string &identifier,
|
||||
const StoreMetaData &storeMeta);
|
||||
static DistributedDB::SecurityOption ConvertSecurity(int securityLevel);
|
||||
static Status InitNbDbOption(const Options &options, const std::vector<uint8_t> &cipherKey,
|
||||
DistributedDB::KvStoreNbDelegate::Option &dbOption);
|
||||
|
Loading…
Reference in New Issue
Block a user