[CP] [to #52457238] fix(resolve): mysql udf return type accuracy

This commit is contained in:
haohao022
2023-10-17 05:09:31 +00:00
committed by ob-robot
parent 5552b052b2
commit 02072d8ecf

View File

@ -138,7 +138,7 @@ int ObExprUDF::calc_result_typeN(ObExprResType &type,
if (lib::is_oracle_mode()) {
type.set_length(OB_MAX_ORACLE_VARCHAR_LENGTH);
} else {
type.set_length(OB_MAX_VARCHAR_LENGTH);
type.set_length(result_type_.get_length());
}
}
}