1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-20734 Allow reserved keywords as user defined type names

This commit is contained in:
Alexander Barkov
2019-10-03 14:02:00 +04:00
parent 54606df1a3
commit d168601e83
10 changed files with 1275 additions and 671 deletions

View File

@@ -412,3 +412,21 @@ SELECT @@GLOBAL.role;
--echo #
--echo # End of 10.3 tests
--echo #
--echo #
--echo # Start of 10.5 tests
--echo #
--echo #
--echo # MDEV-20734 Allow reserved keywords as user defined type names
--echo #
--error ER_UNKNOWN_DATA_TYPE
CREATE TABLE t1 (a DUAL);
--error ER_UNKNOWN_DATA_TYPE
SELECT CAST(1 AS DUAL);
--echo #
--echo # End of 10.5 tests
--echo #