config无效更改不返回错误码

Signed-off-by: guochao <guochao76@huawei.com>
This commit is contained in:
guochao 2024-10-31 15:46:16 +08:00
parent dec6bf3a83
commit f4fbcd5419

View File

@ -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_);
}