MariaDB detect incorrect table name

This commit is contained in:
Oleksandr Byelkin 2019-01-29 09:34:08 +01:00
commit c991939bab
2 changed files with 3 additions and 2 deletions

View file

@ -1,2 +1,2 @@
CREATE TABLE `#mysql50#q.q`(f1 INT KEY) ENGINE=TOKUDB;
ERROR HY000: Got error 1632 from storage engine
ERROR 42000: Incorrect table name '#mysql50#q.q'

View file

@ -7,6 +7,7 @@
# engine expects a table name in the form of a relative path like
# "./databasename/tablename". InnoDB detects this in parsing the table name
# during the creation and returns an error.
# MariaDB server detect above error.
--error ER_GET_ERRNO
--error ER_WRONG_TABLE_NAME
CREATE TABLE `#mysql50#q.q`(f1 INT KEY) ENGINE=TOKUDB;