to issue<44184376>:fix udf argument issue

This commit is contained in:
hanr881
2023-08-11 07:42:30 +00:00
committed by ob-robot
parent d23b1c10fc
commit e88540ebc8
4 changed files with 18 additions and 32 deletions

View File

@ -142,6 +142,9 @@ int ObExprUDF::calc_result_typeN(ObExprResType &type,
}
}
}
if (OB_SUCC(ret) && lib::is_mysql_mode()) {
type_ctx.set_cast_mode(type_ctx.get_cast_mode() & ~CM_WARN_ON_FAIL);
}
}
return ret;
}