summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlcheck.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2015-01-29 18:26:07 +0100
committerSergei Golubchik <sergii@pisem.net>2015-01-29 18:26:07 +0100
commit27439ee6eaf86ba0d6c84439819664962e061e7d (patch)
treeb6a0100c77617928402fece076ca585aee99e1e9 /mysql-test/t/mysqlcheck.test
parent1e227b8f2c8b5305878b422c33c366fcab762d61 (diff)
parent5f63c9c067c59102d5d707c6ff086ece60edae9e (diff)
downloadmariadb-git-27439ee6eaf86ba0d6c84439819664962e061e7d.tar.gz
5.5 merge
Diffstat (limited to 'mysql-test/t/mysqlcheck.test')
-rw-r--r--mysql-test/t/mysqlcheck.test14
1 files changed, 12 insertions, 2 deletions
diff --git a/mysql-test/t/mysqlcheck.test b/mysql-test/t/mysqlcheck.test
index d986b42fc91..e2733089f18 100644
--- a/mysql-test/t/mysqlcheck.test
+++ b/mysql-test/t/mysqlcheck.test
@@ -14,8 +14,8 @@ call mtr.add_suppression("Invalid .old.. table or database name");
#
--disable_warnings
-DROP TABLE IF EXISTS t1, `t``1`, `t 1`;
-drop view if exists v1;
+DROP TABLE IF EXISTS t1, `t``1`, `t 1`, test.`t.1`, v1;
+drop view if exists t1, `t``1`, `t 1`, test.`t.1`, v1;
drop database if exists client_test_db;
# Repair any tables in mysql, sometimes the slow_log is marked as crashed
# after server has been killed
@@ -312,3 +312,13 @@ CHECK TABLE bug47205 FOR UPGRADE;
CHECK TABLE bug47205 FOR UPGRADE;
DROP TABLE bug47205;
+
+--echo #
+--echo #MDEV-6128:[PATCH] mysqlcheck wrongly escapes '.' in table names
+--echo #
+CREATE TABLE test.`t.1` (id int);
+
+--echo mysqlcheck test t.1
+--exec $MYSQL_CHECK test t.1
+
+drop table test.`t.1`;