| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix: TransactionContext errorMsg_移除(复用ContextBase基类成员)+errorMsg_位置移至error之后+代码简化 1. TransactionContext删除shadowing的errorMsg_成员,复用ContextBase基类的errorMsg_ TransactionContext::SetError已通过this->errorMsg_访问基类成员,无需重复声明 2. napi_async_call.h中errorMsg_从尾部移至error成员之后,与RdbStoreContextBase::SetError 的访问顺序一致(先取nativeCode再取errorMsg_) 3. Transaction/Delete/Update/BatchInsert等exec lambda中移除StealTransaction前的 CHECK_RETURN_ERR(context->transaction_)前置检查(StealTransaction后紧接着 CHECK_RETURN_ERR(trans!=nullptr)已覆盖null情况,前置检查多余) 4. std::tie拆分简化为structured binding(auto [errCode, data] = ...) 5. napi_result_set.cpp缩进修正(4处errCode声明多了一级缩进) 6. ExecuteSql exec lambda中移除StealRdbStore前的冗余CHECK_RETURN_ERR Signed-off-by: guochao <guochao76@h-partners.com> Co-Authored-By: Agent 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: I20364fa3b1e1bd5119fa4f4f9c7c96733b0569f1 | 1 个月前 | |
feat:日志整改 Signed-off-by: 邓俊 <dengjun39@huawei.com> | 1 年前 | |
update: 更新文件 cache_result_set_test.cpp Signed-off-by: leiiyb <leiyanbo@h-partners.com> | 8 个月前 | |
add namespace relationalStore to replace rdb V9 api Signed-off-by: PaDaBoo <xuejianwu@huawei.com> | 3 年前 | |
fix: CaptureLastError重构为SetLastErrorMsg(statement->GetLastErrorMsg)+capturedErrMsg_重命名errorMsg_+BuildColumnRangeCtx拆分+JS_ERROR_CODE_MSGS按nativeCode严格递增排序+并发/反复报错测试用例补充 - rdb_store_impl.cpp: CaptureLastError()重构为SetLastErrorMsg(msg), 从statement/connection直接获取LastErrorMsg而非遍历connectionPool, 移除statement==nullptr处的CaptureLastError调用(此时无statement无法获取消息) - rdb_store_impl.h: CaptureLastError→SetLastErrorMsg(const std::string &msg) - connection_pool.h/cpp: 移除ConnectionPool::GetLastErrorMsg()(不再需要遍历池) - sqlite_connection.h: SetLastErrorMsg改为public, 移除friend class SqliteStatement - abs_result_set.h/cpp: BuildColumnRangeCtx拆分为BuildColumnNameNotFoundCtx/BuildColumnIndexRangeCtx/BuildColumnUnknownCtx三个场景化函数 - step_result_set.cpp: GetValueObject列越界使用BuildColumnIndexRangeCtx/BuildColumnUnknownCtx - abs_shared_result_set.cpp: CheckState列越界使用BuildColumnIndexRangeCtx/BuildColumnUnknownCtx - napi_rdb_error.cpp: JS_ERROR_CODE_MSGS按nativeCode(status)值严格递增排序, 满足IsIncreasing()编译断言; NATIVE_ERR_MSG_MAP恢复为独立线性查找表+GetNativeErrMsg函数 - napi_rdb_error.h: 移除RDB_NAPI_ASSERT_INT宏(未使用) - napi_rdb_context.h/cpp: capturedErrMsg_重命名errorMsg_, SetError使用errorMsg_ - napi_rdb_store.cpp: exec_ lambda使用errorMsg_, clang-format长行拆分 - napi_transaction.cpp: capturedErrMsg_重命名errorMsg_, StealTransaction后增加CHECK_RETURN_ERR非空检查 - napi_result_set.cpp: null-check前置(RDB_NAPI_ASSERT), 移除opMsg中间变量, 直接从resultSet->GetLastErrorMsg()获取错误消息 - napi_lite_result_set.cpp: 同上null-check前置+直接GetLastErrorMsg - napi_async_call.h/napi_rdb_context.h: errorMsg_成员 - lite_result_set_impl.cpp/result_set_impl.cpp: GetRowsSync/GetRowsDataSync使用resultSet而非nativeResultSet获取LastErrorMsg - RdbErrMsgOptimize.test.ets: 补充5个用例(025-029): 异步并发不同错误消息验证、同步反复报错无交叉污染、不同错误类型反复报错验证 - RdbErrMsgRange.test.ets: 14个用例注释改为@tc.number/@tc.name/@tc.desc标准化格式 Signed-off-by: guochao <guochao76@h-partners.com> Co-Authored-By: Agent 🤖 AI[53%] 👌 AI Adopted[53%] 🧑 Human[47%] Change-Id: I01edd6428f06a57188053a0e8c7e726ccc9184a2 | 1 个月前 | |
fix: CaptureLastError重构为SetLastErrorMsg(statement->GetLastErrorMsg)+capturedErrMsg_重命名errorMsg_+BuildColumnRangeCtx拆分+JS_ERROR_CODE_MSGS按nativeCode严格递增排序+并发/反复报错测试用例补充 - rdb_store_impl.cpp: CaptureLastError()重构为SetLastErrorMsg(msg), 从statement/connection直接获取LastErrorMsg而非遍历connectionPool, 移除statement==nullptr处的CaptureLastError调用(此时无statement无法获取消息) - rdb_store_impl.h: CaptureLastError→SetLastErrorMsg(const std::string &msg) - connection_pool.h/cpp: 移除ConnectionPool::GetLastErrorMsg()(不再需要遍历池) - sqlite_connection.h: SetLastErrorMsg改为public, 移除friend class SqliteStatement - abs_result_set.h/cpp: BuildColumnRangeCtx拆分为BuildColumnNameNotFoundCtx/BuildColumnIndexRangeCtx/BuildColumnUnknownCtx三个场景化函数 - step_result_set.cpp: GetValueObject列越界使用BuildColumnIndexRangeCtx/BuildColumnUnknownCtx - abs_shared_result_set.cpp: CheckState列越界使用BuildColumnIndexRangeCtx/BuildColumnUnknownCtx - napi_rdb_error.cpp: JS_ERROR_CODE_MSGS按nativeCode(status)值严格递增排序, 满足IsIncreasing()编译断言; NATIVE_ERR_MSG_MAP恢复为独立线性查找表+GetNativeErrMsg函数 - napi_rdb_error.h: 移除RDB_NAPI_ASSERT_INT宏(未使用) - napi_rdb_context.h/cpp: capturedErrMsg_重命名errorMsg_, SetError使用errorMsg_ - napi_rdb_store.cpp: exec_ lambda使用errorMsg_, clang-format长行拆分 - napi_transaction.cpp: capturedErrMsg_重命名errorMsg_, StealTransaction后增加CHECK_RETURN_ERR非空检查 - napi_result_set.cpp: null-check前置(RDB_NAPI_ASSERT), 移除opMsg中间变量, 直接从resultSet->GetLastErrorMsg()获取错误消息 - napi_lite_result_set.cpp: 同上null-check前置+直接GetLastErrorMsg - napi_async_call.h/napi_rdb_context.h: errorMsg_成员 - lite_result_set_impl.cpp/result_set_impl.cpp: GetRowsSync/GetRowsDataSync使用resultSet而非nativeResultSet获取LastErrorMsg - RdbErrMsgOptimize.test.ets: 补充5个用例(025-029): 异步并发不同错误消息验证、同步反复报错无交叉污染、不同错误类型反复报错验证 - RdbErrMsgRange.test.ets: 14个用例注释改为@tc.number/@tc.name/@tc.desc标准化格式 Signed-off-by: guochao <guochao76@h-partners.com> Co-Authored-By: Agent 🤖 AI[53%] 👌 AI Adopted[53%] 🧑 Human[47%] Change-Id: I01edd6428f06a57188053a0e8c7e726ccc9184a2 | 1 个月前 | |
refactor: 恢复HistogramReporter单构造函数加默认参数 Co-Authored-By: Agent Signed-off-by: chang-jiaxing <changjiaxing1@huawei.com> Change-Id: I2a9351dd836a7403f76ac1b98f6d2f8b3d9bb708 | 3 个月前 | |
add modify Signed-off-by: luyangyang7 <luyangyang7@h-partners.com> Change-Id: I966dd187d3a48ab94f94221b15a51393098ac1de | 4 个月前 | |
feat:日志订阅跳单至主干 Signed-off-by: 邓俊 <dengjun39@huawei.com> | 1 年前 | |
谓词支持having Signed-off-by: 常佳兴 <changjiaxing2@huawei.com> Change-Id: Idbf34a6675ca14d62211e3474eee0923b20cc692 | 1 年前 | |
rdb support sendable Signed-off-by: changjiaxing <changjiaxing2@huawei.com> Change-Id: Id84eff0a2a415fbfccca8487906aa8cd7b4bf3a1 | 2 年前 | |
on接口sql耗时回合master Signed-off-by: MengYao <mengyao17@huawei.com> | 1 年前 | |
Merge branch 'master' of git@gitcode.com:luyangyang7/distributeddatamgr_relational_store_syncEx.git into 'master' # Conflicts: # conflict frameworks/native/rdb/src/rdb_store_impl.cpp # conflict frameworks/native/rdb/src/rdb_types_util.cpp # conflict interfaces/inner_api/rdb/include/rdb_service.h # conflict interfaces/inner_api/rdb/include/rdb_types.h | 4 个月前 | |
add namespace relationalStore to replace rdb V9 api Signed-off-by: PaDaBoo <xuejianwu@huawei.com> | 3 年前 | |
modify uvQueue bug Signed-off-by: leiiyb <leiyanbo@huawei.com> | 2 年前 | |
cross platform code Signed-off-by: leiiyb <leiyanbo@huawei.com> | 3 年前 | |
refactor: 抽取rdb_service_adapter模块以降低IPC静态依赖 将rdb模块中的service proxy、notifier stub、types util、result set proxy等IPC相关代码抽取为独立的rdb_service_adapter模块,降低native_rdb对IPC的静态依赖,支持动态卸载场景。同时新增platform配置支持多平台编译。 Co-Authored-By: Agent Signed-off-by: deng-1jun <dengjun39@h-partners.com> 🤖 AI[0%] 🔧 Human Fixed[0%] 🧑 Human[100%] 👌 AI Adopted[0%] Change-Id: Ia56fd5c76ee6c6e467875d35e74f061d7e16887c | 20 天前 | |
Code Warning Fix Signed-off-by: l30005037 <luyangyang7@h-partners.com> | 10 个月前 | |
增加ts用例 Signed-off-by: 常佳兴 <changjiaxing2@h-partners.com> Change-Id: I643b3874435773d0e29df8a3f3a3141273ca946f | 8 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 3 年前 | ||
| 1 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 4 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 4 个月前 | ||
| 3 年前 | ||
| 2 年前 | ||
| 3 年前 | ||
| 20 天前 | ||
| 10 个月前 | ||
| 8 个月前 |