[CP] [to #44870814]fix adds pl object core at match cons

This commit is contained in:
seuwebber
2022-11-07 04:08:05 +00:00
committed by wangzelin.wzl
parent 1f70807e5f
commit e848566f1a

View File

@ -491,7 +491,7 @@ int ObPlanSet::match_params_info(const Ob2DArray<ObParamInfo,
}
}
if (OB_SUCC(ret) && is_same) {
if (is_sql_planset() && OB_SUCC(ret) && is_same) {
CK( OB_NOT_NULL(pc_ctx.exec_ctx_.get_physical_plan_ctx()) );
if (OB_SUCC(ret)) {
const ParamStore &params = pc_ctx.exec_ctx_.get_physical_plan_ctx()->get_param_store();