fix expr concat upgrade compatibility bug
This commit is contained in:
@ -224,7 +224,7 @@ int ObExprConcat::calc_result_typeN(ObExprResType &type,
|
|||||||
has_text = true;
|
has_text = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (has_text) {
|
if (has_text && GET_MIN_CLUSTER_VERSION() >= CLUSTER_VERSION_4_2_0_0) {
|
||||||
type.set_type(ObLongTextType);
|
type.set_type(ObLongTextType);
|
||||||
} else {
|
} else {
|
||||||
type.set_varchar();
|
type.set_varchar();
|
||||||
|
|||||||
Reference in New Issue
Block a user