[FEAT MERGE]4_1_sql_feature

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: raywill <hustos@gmail.com>
This commit is contained in:
obdev
2023-01-28 16:01:26 +08:00
committed by ob-robot
parent 3080f2b66f
commit 2d19a9d8f5
846 changed files with 161957 additions and 116661 deletions

View File

@ -264,8 +264,10 @@ int check_sys_var_options(ObExecContext &ctx,
ObNewRow tmp_row;
RowDesc row_desc;
ObTempExpr *temp_expr = NULL;
CK(OB_NOT_NULL(ctx.get_sql_ctx()));
OZ(ObStaticEngineExprCG::gen_expr_with_row_desc(cur_node.value_expr_,
row_desc, ctx.get_allocator(), session, temp_expr));
row_desc, ctx.get_allocator(), session,
ctx.get_sql_ctx()->schema_guard_, temp_expr));
CK(OB_NOT_NULL(temp_expr));
OZ(temp_expr->eval(ctx, tmp_row, value_obj));