Do not report ERROR when sample rate equals 100
This commit is contained in:
@ -291,8 +291,8 @@ int ObExprColumnConv::calc_result_typeN(ObExprResType &type,
|
||||
type_ctx.get_raw_expr()->get_extra() |
|
||||
CM_COLUMN_CONVERT);
|
||||
types[4].set_calc_meta(type);
|
||||
if (ob_is_number_or_decimal_int_tc(type.get_type())) {
|
||||
// decimal/number int need to setup calc accuracy
|
||||
if (ob_is_decimal_int_tc(type.get_type())) {
|
||||
// decimal int need to setup calc accuracy
|
||||
types[4].set_calc_accuracy(type.get_accuracy());
|
||||
type.set_collation_level(common::CS_LEVEL_NUMERIC);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user