1 Star 0 Fork 0

廖永煌/lyh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
br_090_2.diff 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
廖永煌 提交于 2025-03-11 09:29 +08:00 . 1
diff --git a/frameworks/libs/distributeddb/storage/src/sqlite/sqlite_single_ver_storage_executor_extend.cpp b/frameworks/libs/distributeddb/storage/src/sqlite/sqlite_single_ver_storage_executor_extend.cpp
index 3db2285e1..3ee2eb31a 100644
--- a/frameworks/libs/distributeddb/storage/src/sqlite/sqlite_single_ver_storage_executor_extend.cpp
+++ b/frameworks/libs/distributeddb/storage/src/sqlite/sqlite_single_ver_storage_executor_extend.cpp
@@ -337,12 +337,14 @@ int SQLiteSingleVerStorageExecutor::GetEntries(const std::string &device, std::v
DBCommon::StringToVector(hashDev, blobDev);
errCode = SQLiteUtils::BindBlobToStatement(stmt, BIND_GET_ENTRIES_DEVICE_INDEX, blobDev);
if (errCode != E_OK) {
- LOGE("[SQLiteSingleVerStorageExecutor] Bind hash device[%s] to statement failed:%d", hashDev.c_str(), errCode);
+ LOGE("[SQLiteSingleVerStorageExecutor] Bind hash device[%s] to statement failed:%d",
+ DBCommon::TransferStringToHex(hashDev).c_str(), errCode);
return errCode;
}
errCode = StepForResultEntries(true, stmt, entries);
if (errCode != E_OK) {
- LOGE("[SQLiteSingleVerStorageExecutor] Get device[%s] entries failed:%d", hashDev.c_str(), errCode);
+ LOGE("[SQLiteSingleVerStorageExecutor] Get device[%s] entries failed:%d",
+ DBCommon::TransferStringToHex(hashDev).c_str(), errCode);
return errCode;
}
LOGD("[SQLiteSingleVerStorageExecutor] Get %zu entries by device", entries.size());
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liao-yonghuang/lyh.git
git@gitee.com:liao-yonghuang/lyh.git
liao-yonghuang
lyh
lyh
master

搜索帮助