mirror of
https://gitee.com/openharmony/distributeddatamgr_relational_store
synced 2024-12-03 13:01:43 +00:00
代码一致性
Signed-off-by: guochao <guochao76@huawei.com>
This commit is contained in:
parent
4e9eabfdb4
commit
51f9e71d87
@ -66,11 +66,11 @@ std::shared_ptr<RdbStoreImpl> RdbStoreManager::GetStoreFromCache(const RdbStoreC
|
||||
}
|
||||
std::shared_ptr<RdbStoreImpl> rdbStore = it->second.lock();
|
||||
if (rdbStore == nullptr) {
|
||||
storeCache_.erase(path);
|
||||
storeCache_.erase(it);
|
||||
return nullptr;
|
||||
}
|
||||
if (!(rdbStore->GetConfig() == config)) {
|
||||
storeCache_.erase(path);
|
||||
storeCache_.erase(it);
|
||||
LOG_INFO("app[%{public}s:%{public}s] path[%{public}s]"
|
||||
" cfg[%{public}d,%{public}d,%{public}d,%{public}d,%{public}d,%{public}d,%{public}d,%{public}s]"
|
||||
" %{public}s",
|
||||
|
Loading…
Reference in New Issue
Block a user