[to #53811093] fix storing CURSOR type result to REF CURSOR var caused mem leak
This commit is contained in:
@ -7419,8 +7419,7 @@ int ObSPIService::convert_obj(ObPLExecCtx *ctx,
|
||||
LOG_DEBUG("column convert", K(obj.get_meta()), K(result_types[i].get_meta_type()),
|
||||
K(current_type.at(i)), K(result_types[i].get_accuracy()));
|
||||
if (obj.is_pl_extend()/* && pl::PL_RECORD_TYPE == obj.get_meta().get_extend_type()*/
|
||||
&& result_types[i].get_meta_type().is_ext()
|
||||
&& obj.get_meta().get_extend_type() != PL_CURSOR_TYPE) {
|
||||
&& result_types[i].get_meta_type().is_ext()) {
|
||||
//record嵌object场景,object属性在resolver阶段要求强一致,无需强转
|
||||
OZ (calc_array.push_back(obj));
|
||||
} else if (obj.get_meta() == result_types[i].get_meta_type()
|
||||
|
||||
Reference in New Issue
Block a user