[master] optimizer.udt_bug_oracle farm mysqltest regression cases

This commit is contained in:
obdev
2023-07-06 12:47:57 +00:00
committed by ob-robot
parent 7853b0222a
commit 9504e5c3f7

View File

@ -6489,7 +6489,7 @@ int ObRawExprUtils::check_composite_cast(ObRawExpr *&expr, ObSchemaChecker &sche
} else if (ObExtendType == obj_type } else if (ObExtendType == obj_type
&& OB_INVALID_ID != udt_id && OB_INVALID_ID != udt_id
&& !(src->get_expr_type() == T_QUESTIONMARK || && !(src->get_expr_type() == T_QUESTIONMARK ||
(src->get_expr_type() == T_FUN_SYS_CAST (udt_id == T_OBJ_XML && src->get_expr_type() == T_FUN_SYS_CAST
&& src->get_param_expr(0)->get_expr_type() == T_QUESTIONMARK))) { && src->get_param_expr(0)->get_expr_type() == T_QUESTIONMARK))) {
if (ObNullType == src->get_result_type().get_type()) { if (ObNullType == src->get_result_type().get_type()) {
// do nothing // do nothing