fix error codes incompatible in in-operator and nullif / join / returning with xmltype

This commit is contained in:
obdev
2023-05-16 12:22:00 +00:00
committed by ob-robot
parent 55547cf8f5
commit d79ccfaa6e
4 changed files with 20 additions and 10 deletions

View File

@ -134,7 +134,9 @@ bool ObExprOracleNullif::is_same_type(const ObExprResType &type1,
if (oracleType1 == oracleType2 ||
is_numberic_type(oracleType1, oracleType2) ||
is_string_type(oracleType1, oracleType2) ||
is_time_type(oracleType1, oracleType2)) {
is_time_type(oracleType1, oracleType2) ||
((oracleType1 == ObOExtendType || oracleType1 == ObOUDTSqlType)
&& (oracleType2 == ObOExtendType || oracleType2 == ObOUDTSqlType))) {
ret = true;
}