fix error codes incompatible in in-operator and nullif / join / returning with xmltype
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user