update frameworks/native/rdb/src/rdb_service_proxy.cpp.

Signed-off-by: MengYao <mengyao17@huawei.com>
This commit is contained in:
MengYao 2024-10-29 13:57:58 +00:00 committed by Gitee
parent 862bc1693e
commit 0b44b35141
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -609,10 +609,10 @@ int32_t RdbServiceProxy::GetDebugInfo(const RdbSyncerParam &param, std::map<std:
return status;
}
int32_t RdbServiceProxy::GetPromiseInfo(const RdbSyncerParam &param)
int32_t RdbServiceProxy::VerifyPromiseInfo(const RdbSyncerParam &param)
{
MessageParcel reply;
int32_t status = IPC_SEND(static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_GET_PROMISE_INFO), reply, param);
int32_t status = IPC_SEND(static_cast<uint32_t>(RdbServiceCode::RDB_SERVICE_CMD_VERIFY_PROMISE_INFO), reply, param);
if (status != RDB_OK) {
LOG_ERROR("fail, status:%{public}d, bundleName:%{public}s, storeName:%{public}s", status,
param.bundleName_.c_str(), SqliteUtils::Anonymous(param.storeName_).c_str());