[CP] to issue<53837093>:fix call stmt which procedure argument is array hit plan issue in ps mode
This commit is contained in:
@ -75,6 +75,14 @@ int ObPLCacheObject::set_params_info(const ParamStore ¶ms)
|
||||
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))) {
|
||||
|
Reference in New Issue
Block a user