mirror of
https://gitee.com/openharmony/distributeddatamgr_datamgr_service
synced 2024-11-27 17:10:42 +00:00
f
Signed-off-by: hanlu <hanlu1@huawei.com>
This commit is contained in:
parent
2574f9e01b
commit
fd1da86d78
@ -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());
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user