fix concat deduce bug

This commit is contained in:
yinyj17
2023-08-03 10:42:07 +00:00
committed by ob-robot
parent d93beedd3f
commit f8e2c27281

View File

@ -220,7 +220,7 @@ int ObExprConcat::calc_result_typeN(ObExprResType &type,
} else {
bool has_text = false;
for (int64_t i = 0; !has_text && i < param_num; ++i) {
if (ObTinyTextType != types[i].get_type() && types[i].is_text()) {
if (ObTinyTextType != types[i].get_type() && types[i].is_lob()) {
has_text = true;
}
}