Signed-off-by: hanlu <hanlu1@huawei.com>
This commit is contained in:
hanlu 2023-05-07 15:33:14 +08:00
parent 2574f9e01b
commit fd1da86d78
2 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,7 @@ RdbDelegate::RdbDelegate(const std::string &dir, int version, int &errCode, bool
DefaultOpenCallback callback;
store_ = RdbHelper::GetRdbStore(config, version, callback, errCode);
if (errCode != E_OK) {
ZLOGE("GetRdbStore failed, errCode is %{public}d, dir is %{public}s", errCode,
ZLOGW("GetRdbStore failed, errCode is %{public}d, dir is %{public}s", errCode,
DistributedData::Anonymous::Change(dir).c_str());
}
}

View File

@ -20,7 +20,6 @@ namespace OHOS::DataShare {
bool SeqStrategy::operator()(std::shared_ptr<Context> context)
{
for (auto &action : actions_) {
// true:success false:terminal
if (!(*action)(context)) {
return false;
}