[CP] fix reverse deduce bug

This commit is contained in:
wjhh2008 2023-11-07 07:09:54 +00:00 committed by ob-robot
parent 5af5746e1b
commit 8d8bb1fa42

View File

@ -72,6 +72,7 @@ inline int ObExprReverse::calc_result_type1(ObExprResType &type,
type.set_collation_type(type1.get_collation_type());
type.set_collation_level(type1.get_collation_level());
type.set_length(type1.get_length());
type.set_length_semantics(type1.get_length_semantics());
} else {
ret = OB_ERR_INVALID_TYPE_FOR_OP;
LOG_USER_ERROR(OB_ERR_INVALID_TYPE_FOR_OP,