diff options
author | Alexander Barkov <bar@mariadb.com> | 2019-10-03 14:02:00 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2019-10-03 14:02:00 +0400 |
commit | d168601e83dd69a229d43a577eddf2278def2bf6 (patch) | |
tree | 8628b9e1dbf17fce4faf6e44c0e527d452959c2f /mysql-test/suite/compat/oracle/t/parser.test | |
parent | 54606df1a36e683b63604f7a3893a74723b16274 (diff) | |
download | mariadb-git-d168601e83dd69a229d43a577eddf2278def2bf6.tar.gz |
MDEV-20734 Allow reserved keywords as user defined type names
Diffstat (limited to 'mysql-test/suite/compat/oracle/t/parser.test')
-rw-r--r-- | mysql-test/suite/compat/oracle/t/parser.test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/suite/compat/oracle/t/parser.test b/mysql-test/suite/compat/oracle/t/parser.test index 067fd9beb48..84d275a5d3f 100644 --- a/mysql-test/suite/compat/oracle/t/parser.test +++ b/mysql-test/suite/compat/oracle/t/parser.test @@ -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 # |