[CP] support plan expire when enable spm

This commit is contained in:
obdev
2024-09-19 09:41:38 +00:00
committed by ob-robot
parent c1156803f4
commit 7abf5fe743
4 changed files with 166 additions and 89 deletions

View File

@ -673,6 +673,10 @@ struct ObPlanStat
is_expired_(false),
enable_plan_expiration_(false),
first_exec_row_count_(-1),
first_exec_usec_(0),
sample_times_(0),
sample_exec_row_count_(0),
sample_exec_usec_(0),
sessid_(0),
plan_tmp_tbl_name_str_len_(0),
is_use_jit_(false),
@ -747,6 +751,10 @@ struct ObPlanStat
is_expired_(false),
enable_plan_expiration_(rhs.enable_plan_expiration_),
first_exec_row_count_(rhs.first_exec_row_count_),
first_exec_usec_(rhs.first_exec_usec_),
sample_times_(rhs.sample_times_),
sample_exec_row_count_(rhs.sample_exec_row_count_),
sample_exec_usec_(rhs.sample_exec_usec_),
sessid_(rhs.sessid_),
plan_tmp_tbl_name_str_len_(rhs.plan_tmp_tbl_name_str_len_),
is_use_jit_(rhs.is_use_jit_),