提交 7ec97aa3 编写于 作者: O obdev 提交者: ob-robot

Fix compile error in ERRSIM mode

上级 51fa5ba0
...@@ -101,7 +101,7 @@ int ObRemoteLogIterator<LogEntryType>::next(LogEntryType &entry, LSN &lsn, const ...@@ -101,7 +101,7 @@ int ObRemoteLogIterator<LogEntryType>::next(LogEntryType &entry, LSN &lsn, const
#ifdef ERRSIM #ifdef ERRSIM
if (OB_SUCC(ret)) { if (OB_SUCC(ret)) {
ret = E(EventTable::EN_RESTORE_LOG_FROM_SOURCE_FAILED) OB_SUCCESS; ret = OB_E(EventTable::EN_RESTORE_LOG_FROM_SOURCE_FAILED) OB_SUCCESS;
} }
#endif #endif
return ret; return ret;
......
...@@ -380,7 +380,7 @@ int ObDataAccessService::do_async_remote_das_task( ...@@ -380,7 +380,7 @@ int ObDataAccessService::do_async_remote_das_task(
ObPhysicalPlanCtx *plan_ctx = das_ref.get_exec_ctx().get_physical_plan_ctx(); ObPhysicalPlanCtx *plan_ctx = das_ref.get_exec_ctx().get_physical_plan_ctx();
int64_t timeout = plan_ctx->get_timeout_timestamp() - ObTimeUtility::current_time(); int64_t timeout = plan_ctx->get_timeout_timestamp() - ObTimeUtility::current_time();
#ifdef ERRSIM #ifdef ERRSIM
int inject_timeout = -E(EventTable::EN_DAS_SIMULATE_ASYNC_RPC_TIMEOUT) OB_SUCCESS; int inject_timeout = -OB_E(EventTable::EN_DAS_SIMULATE_ASYNC_RPC_TIMEOUT) OB_SUCCESS;
if (OB_SUCCESS != inject_timeout) { if (OB_SUCCESS != inject_timeout) {
LOG_INFO("das async rpc simulate timeout", K(inject_timeout)); LOG_INFO("das async rpc simulate timeout", K(inject_timeout));
timeout = inject_timeout - 10; timeout = inject_timeout - 10;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册