fix a clerical error when declare ObPlanBaseKeyGuard

This commit is contained in:
obdev 2022-11-28 13:07:58 +00:00 committed by ob-robot
parent 75ea2d2d00
commit 7f62028059

View File

@ -2268,7 +2268,7 @@ int ObSql::generate_physical_plan(ParseResult &parse_result,
stmt_ora_need_privs.need_privs_.set_allocator(&allocator);
uint64_t aggregate_setting = 0;
// TODO: @linlin.xll remove ori_bl_key after eval_udf use identical sql ctx.
ObPlanBaseKeyGuard(sql_ctx.spm_ctx_.bl_key_);
ObPlanBaseKeyGuard guard(sql_ctx.spm_ctx_.bl_key_);
_LOG_DEBUG("start to generate physical plan for query.(query = %.*s)",
parse_result.input_sql_len_, parse_result.input_sql_);
if (OB_FAIL(sanity_check(sql_ctx))) { //check sql_ctx.session_info_ and sql_ctx.schema_guard_