Fix incorrect plan sharing causing crash

This commit is contained in:
obdev
2024-01-03 17:13:37 +00:00
committed by ob-robot
parent 9ae25b9413
commit c257e61733
3 changed files with 20 additions and 7 deletions

View File

@ -2312,6 +2312,7 @@ OB_INLINE int ObPlanCache::construct_plan_cache_key(ObSQLSessionInfo &session,
pc_key.namespace_ = ns;
pc_key.sys_vars_str_ = session.get_sys_var_in_pc_str();
pc_key.config_str_ = session.get_config_in_pc_str();
pc_key.use_rich_vector_format_ = session.use_rich_format();
pc_key.is_weak_read_ = is_weak;
return ret;
}