From f8e2c27281d1f85fe17733d24b957b22b2321df4 Mon Sep 17 00:00:00 2001 From: yinyj17 Date: Thu, 3 Aug 2023 10:42:07 +0000 Subject: [PATCH] fix concat deduce bug --- src/sql/engine/expr/ob_expr_concat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/engine/expr/ob_expr_concat.cpp b/src/sql/engine/expr/ob_expr_concat.cpp index b5687ea3c0..c07776eeef 100644 --- a/src/sql/engine/expr/ob_expr_concat.cpp +++ b/src/sql/engine/expr/ob_expr_concat.cpp @@ -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; } }