SET sql_mode=ORACLE;

--echo #
--echo #  MDEV-11275 sql_mode=ORACLE: CAST(..AS VARCHAR(N))
--echo #

SELECT CAST(123 AS VARCHAR(10)) FROM DUAL;
--error ER_PARSE_ERROR
SELECT CAST(123 AS VARCHAR) FROM DUAL;
