[CP] fix reverse deduce bug
This commit is contained in:
@ -72,6 +72,7 @@ inline int ObExprReverse::calc_result_type1(ObExprResType &type,
|
|||||||
type.set_collation_type(type1.get_collation_type());
|
type.set_collation_type(type1.get_collation_type());
|
||||||
type.set_collation_level(type1.get_collation_level());
|
type.set_collation_level(type1.get_collation_level());
|
||||||
type.set_length(type1.get_length());
|
type.set_length(type1.get_length());
|
||||||
|
type.set_length_semantics(type1.get_length_semantics());
|
||||||
} else {
|
} else {
|
||||||
ret = OB_ERR_INVALID_TYPE_FOR_OP;
|
ret = OB_ERR_INVALID_TYPE_FOR_OP;
|
||||||
LOG_USER_ERROR(OB_ERR_INVALID_TYPE_FOR_OP,
|
LOG_USER_ERROR(OB_ERR_INVALID_TYPE_FOR_OP,
|
||||||
|
Reference in New Issue
Block a user