summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlcheck.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-10-31 10:57:10 +0400
committerunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-10-31 10:57:10 +0400
commitf150962109c7abba649a073d95309d6bd8602de2 (patch)
tree32970fd0a507a675d0071cb45f7262f8d8dd94f6 /mysql-test/t/mysqlcheck.test
parent8b7ee0d67aa1d43b229b10b56c5a9362571c5802 (diff)
parent2611e8ec0c3abac191100ab5c8527ff21ba99d81 (diff)
downloadmariadb-git-f150962109c7abba649a073d95309d6bd8602de2.tar.gz
Merge mysql.com:/home/ram/work/b30654/b30654.5.0
into mysql.com:/home/ram/work/b30654/b30654.5.1 client/mysqlcheck.c: Auto merged mysql-test/r/mysqlcheck.result: Auto merged mysql-test/t/mysqlcheck.test: manual merge.
Diffstat (limited to 'mysql-test/t/mysqlcheck.test')
-rw-r--r--mysql-test/t/mysqlcheck.test11
1 files changed, 10 insertions, 1 deletions
diff --git a/mysql-test/t/mysqlcheck.test b/mysql-test/t/mysqlcheck.test
index d233546f9e3..b9e022bf29a 100644
--- a/mysql-test/t/mysqlcheck.test
+++ b/mysql-test/t/mysqlcheck.test
@@ -11,7 +11,7 @@
#
--disable_warnings
-DROP TABLE IF EXISTS t1;
+DROP TABLE IF EXISTS t1, `t``1`, `t 1`;
drop view if exists v1;
drop database if exists client_test_db;
--enable_warnings
@@ -37,4 +37,13 @@ create view v1 as select * from t1;
drop view v1;
drop table t1;
+#
+# Bug #30654: mysqlcheck fails during upgrade of tables whose names include backticks
+#
+create table `t``1`(a int);
+create table `t 1`(a int);
+--replace_result 'Table is already up to date' OK
+--exec $MYSQL_CHECK --databases test
+drop table `t``1`, `t 1`;
+
--echo End of 5.0 tests