[CP] to issue<53837093>:fix call stmt which procedure argument is array hit plan issue in ps mode

This commit is contained in:
obdev
2024-02-08 03:15:12 +00:00
committed by ob-robot
parent e02aaa02a3
commit 63825b1014

View File

@ -75,6 +75,14 @@ int ObPLCacheObject::set_params_info(const ParamStore &params)
LOG_WARN("nested table is null", K(ret));
} else {
param_info.udt_id_ = composite->get_id();
if (OB_INVALID_ID == param_info.udt_id_) { // anonymous array
if (OB_FAIL(sql::ObSQLUtils::get_ext_obj_data_type(params.at(i), data_type))) {
LOG_WARN("fail to get ext obj data type", K(ret));
} else {
param_info.ext_real_type_ = data_type.get_obj_type();
param_info.scale_ = data_type.get_scale();
}
}
}
} else {
if (OB_FAIL(sql::ObSQLUtils::get_ext_obj_data_type(params.at(i), data_type))) {