[BUGFIX] fix reverse with union
This commit is contained in:
@ -49,6 +49,7 @@ inline int ObExprReverse::calc_result_type1(ObExprResType &type,
|
|||||||
if (ObTextType == type1.get_type()
|
if (ObTextType == type1.get_type()
|
||||||
|| ObMediumTextType == type1.get_type()
|
|| ObMediumTextType == type1.get_type()
|
||||||
|| ObLongTextType == type1.get_type()) {
|
|| ObLongTextType == type1.get_type()) {
|
||||||
|
type1.set_calc_type(type1.get_type());
|
||||||
type.set_type(ObLongTextType);
|
type.set_type(ObLongTextType);
|
||||||
const int32_t mbmaxlen = 4;
|
const int32_t mbmaxlen = 4;
|
||||||
const int32_t default_text_length =
|
const int32_t default_text_length =
|
||||||
|
|||||||
Reference in New Issue
Block a user