fix last_trace_id expr bug in remote execution

This commit is contained in:
obdev
2022-11-02 23:35:48 +00:00
committed by wangzelin.wzl
parent 2d58c1fc74
commit 833107d931
8 changed files with 23 additions and 5 deletions

View File

@ -707,6 +707,8 @@ int ObSQLUtils::se_calc_const_expr(ObSQLSessionInfo *session,
// set current time before do pre calculation
} else if (FALSE_IT(phy_plan_ctx.set_cur_time(ObTimeUtility::current_time(), *session))) {
// do nothing
} else if (FALSE_IT(phy_plan_ctx.set_last_trace_id(session->get_last_trace_id()))) {
// do nothing
} else if (OB_FAIL(ObPlanCacheObject::pre_calculation(false,
*pre_calc_frame,
exec_ctx))) {