[to #58360299]Fix the 32x case migration issue, package var adapts to decimalint type.
This commit is contained in:
@ -103,7 +103,8 @@ int ObExprGetPackageVar::calc_result_typeN(ObExprResType &type,
|
||||
type.set_collation_type(result_type->get_collation_type());
|
||||
type.set_collation_level(result_type->get_collation_level());
|
||||
} else if (ob_is_number_tc(result_type->get_type()) ||
|
||||
ob_is_interval_tc(result_type->get_type())) {
|
||||
ob_is_interval_tc(result_type->get_type()) ||
|
||||
ob_is_decimal_int_tc(result_type->get_type())) {
|
||||
type.set_precision(result_type->get_precision());
|
||||
type.set_scale(result_type->get_scale());
|
||||
} else if (ob_is_text_tc(result_type->get_type())
|
||||
|
||||
Reference in New Issue
Block a user