diff --git a/src/logservice/restoreservice/ob_remote_log_iterator.ipp b/src/logservice/restoreservice/ob_remote_log_iterator.ipp index b2f2c15217e27f9a9affab6f34b78b9d61976931..f416817a5d04c2ed70a46ee1b7e767026f2b1986 100644 --- a/src/logservice/restoreservice/ob_remote_log_iterator.ipp +++ b/src/logservice/restoreservice/ob_remote_log_iterator.ipp @@ -101,7 +101,7 @@ int ObRemoteLogIterator::next(LogEntryType &entry, LSN &lsn, const #ifdef ERRSIM 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 return ret; diff --git a/src/sql/das/ob_data_access_service.cpp b/src/sql/das/ob_data_access_service.cpp index d117119e1ea235e6ae615401a2c020053bb77904..63f03a6dcd87131a9cb18c283c57976a7e5a9b37 100644 --- a/src/sql/das/ob_data_access_service.cpp +++ b/src/sql/das/ob_data_access_service.cpp @@ -380,7 +380,7 @@ int ObDataAccessService::do_async_remote_das_task( ObPhysicalPlanCtx *plan_ctx = das_ref.get_exec_ctx().get_physical_plan_ctx(); int64_t timeout = plan_ctx->get_timeout_timestamp() - ObTimeUtility::current_time(); #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) { LOG_INFO("das async rpc simulate timeout", K(inject_timeout)); timeout = inject_timeout - 10;