mirror of
https://gitee.com/openharmony/distributeddatamgr_relational_store
synced 2024-11-23 07:00:41 +00:00
config无效更改不返回错误码
Signed-off-by: guochao <guochao76@huawei.com>
This commit is contained in:
parent
dec6bf3a83
commit
f4fbcd5419
@ -171,9 +171,6 @@ bool RdbStoreManager::IsConfigInvalidChanged(const std::string &path, RdbStoreCo
|
||||
"area: %{public}d -> %{public}d, isEncrypt: %{public}d -> %{public}d",
|
||||
SqliteUtils::Anonymous(path).c_str(), tempParam.level_, param.level_, tempParam.area_, param.area_,
|
||||
tempParam.isEncrypt_, param.isEncrypt_);
|
||||
if (isLevelInvalidChange) {
|
||||
return true;
|
||||
}
|
||||
if (isEncryptInvalidChange) {
|
||||
config.SetEncryptStatus(tempParam.isEncrypt_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user