occupy fields on master for ob_gis_42x branch

This commit is contained in:
lyxiong0
2023-11-17 11:10:55 +00:00
committed by ob-robot
parent 1d6cb7cde6
commit f244deaf6b
16 changed files with 1428 additions and 6 deletions

View File

@ -132,7 +132,8 @@ ObPhysicalPlan::ObPhysicalPlan(MemoryContext &mem_context /* = CURRENT_CONTEXT *
enable_append_(false),
append_table_id_(0),
logical_plan_(),
is_enable_px_fast_reclaim_(false)
is_enable_px_fast_reclaim_(false),
subschema_ctx_(allocator_)
{
}
@ -227,6 +228,7 @@ void ObPhysicalPlan::reset()
need_record_plan_info_ = false;
logical_plan_.reset();
is_enable_px_fast_reclaim_ = false;
subschema_ctx_.reset();
}
void ObPhysicalPlan::destroy()
@ -238,6 +240,7 @@ void ObPhysicalPlan::destroy()
expr_op_factory_.destroy();
stat_.expected_worker_map_.destroy();
stat_.minimal_worker_map_.destroy();
subschema_ctx_.destroy();
}
int ObPhysicalPlan::copy_common_info(ObPhysicalPlan &src)
@ -778,7 +781,8 @@ OB_SERIALIZE_MEMBER(ObPhysicalPlan,
append_table_id_,
is_enable_px_fast_reclaim_,
gtt_session_scope_ids_,
gtt_trans_scope_ids_);
gtt_trans_scope_ids_,
subschema_ctx_);
int ObPhysicalPlan::set_table_locations(const ObTablePartitionInfoArray &infos,
ObSchemaGetterGuard &schema_guard)