summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2019-01-29 09:34:08 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2019-01-29 09:34:08 +0100
commitc991939bab7677b0af2ac3fd8c504d858e44e8dd (patch)
treee0c38d164231e8e40aaf83531978dd73bab27ffe
parentc4f97d3cfa46a7f1b283926dd7fedb648566283f (diff)
downloadmariadb-git-c991939bab7677b0af2ac3fd8c504d858e44e8dd.tar.gz
MariaDB detect incorrect table name
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/r/PS-4979.result2
-rw-r--r--storage/tokudb/mysql-test/tokudb_bugs/t/PS-4979.test3
2 files changed, 3 insertions, 2 deletions
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/r/PS-4979.result b/storage/tokudb/mysql-test/tokudb_bugs/r/PS-4979.result
index f0d2f93f630..5bf7a270fe5 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/r/PS-4979.result
+++ b/storage/tokudb/mysql-test/tokudb_bugs/r/PS-4979.result
@@ -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'
diff --git a/storage/tokudb/mysql-test/tokudb_bugs/t/PS-4979.test b/storage/tokudb/mysql-test/tokudb_bugs/t/PS-4979.test
index 1e4b5d11922..cb902f6e52a 100644
--- a/storage/tokudb/mysql-test/tokudb_bugs/t/PS-4979.test
+++ b/storage/tokudb/mysql-test/tokudb_bugs/t/PS-4979.test
@@ -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;