mirror of
https://gitee.com/openharmony/distributeddatamgr_relational_store
synced 2024-11-23 15:11:33 +00:00
检视意见修改
Signed-off-by: luyangyang <1049603119@qq.com>
This commit is contained in:
parent
b5648cb7c4
commit
8ab124de61
@ -174,7 +174,7 @@ OH_Rdb_Store *OH_Rdb_GetOrOpen(const OH_Rdb_Config *config, int *errCode)
|
||||
}
|
||||
|
||||
if (config->securityLevel < OH_Rdb_SecurityLevel::S1 || config->securityLevel > OH_Rdb_SecurityLevel::S4) {
|
||||
LOG_ERROR("Parameters set error:config->securityLevel is valid, %{public}d", config->securityLevel);
|
||||
LOG_ERROR("Parameters set error:config->securityLevel is not valid, %{public}d", config->securityLevel);
|
||||
*errCode = OH_Rdb_ErrCode::RDB_E_INVALID_ARGS;
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user