feat: add the rule to use-das when has variable assignments in sql

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
This commit is contained in:
obdev
2023-10-23 09:14:02 +00:00
committed by ob-robot
parent a46ee110fb
commit bacc417957
23 changed files with 170 additions and 18 deletions

View File

@ -99,6 +99,7 @@ ObPhysicalPlan::ObPhysicalPlan(MemoryContext &mem_context /* = CURRENT_CONTEXT *
need_drive_dml_query_(false),
tx_id_(-1),
tm_sessid_(-1),
var_init_exprs_(allocator_),
is_returning_(false),
is_late_materialized_(false),
is_dep_base_table_(false),
@ -222,6 +223,7 @@ void ObPhysicalPlan::reset()
stat_.minimal_worker_map_.destroy();
tx_id_ = -1;
tm_sessid_ = -1;
var_init_exprs_.reset();
need_record_plan_info_ = false;
logical_plan_.reset();
is_enable_px_fast_reclaim_ = false;