bugfix : dynamic sql without quesmark type check && encoding session & xmltype compare in case

This commit is contained in:
obdev
2023-05-24 05:11:48 +00:00
committed by ob-robot
parent 9313ad1d4b
commit bb69281e07
2 changed files with 6 additions and 5 deletions

View File

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