From c7227ffcaefe5cee28ec7b842f346faa75ea4e6e Mon Sep 17 00:00:00 2001 From: obdev Date: Thu, 19 Sep 2024 08:46:55 +0000 Subject: [PATCH] fix mysqltest case regression --- src/sql/engine/expr/ob_expr_operator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/engine/expr/ob_expr_operator.cpp b/src/sql/engine/expr/ob_expr_operator.cpp index b7649a32d3..b9980dead9 100644 --- a/src/sql/engine/expr/ob_expr_operator.cpp +++ b/src/sql/engine/expr/ob_expr_operator.cpp @@ -2338,7 +2338,7 @@ int ObExprOperator::calc_cmp_type2(ObExprResType &type, type2.get_type()))) { LOG_WARN("fail to get cmp_type",K(ret)); } else if (OB_UNLIKELY(ObMaxType == cmp_type)) { - ret = OB_ERR_INVALID_TYPE_FOR_OP; + ret = OB_INVALID_ARGUMENT; LOG_WARN("invalid cmp type", K(ret), K(type1), K(type2), K(left_is_const), K(right_is_const)); } else if (ObURowIDType == cmp_type) { // 如果比较是urwoid类型,只支持,, ,