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:
@ -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;
|
||||
|
||||
@ -596,7 +596,6 @@ private:
|
||||
// constraint for duplicate table to choose replica
|
||||
// dist plan will use this as (dup_tab_pos, advisor_tab_pos) pos is position in base constraint
|
||||
DupTabReplicaArray dup_table_replica_cons_;
|
||||
|
||||
public:
|
||||
ObExprFrameInfo expr_frame_info_;
|
||||
|
||||
@ -608,6 +607,7 @@ public:
|
||||
bool need_drive_dml_query_;
|
||||
int64_t tx_id_; //for dblink recover xa tx
|
||||
int64_t tm_sessid_; //for dblink get connection attached on tm session
|
||||
ExprFixedArray var_init_exprs_;
|
||||
private:
|
||||
bool is_returning_; //是否设置了returning
|
||||
|
||||
|
||||
Reference in New Issue
Block a user