diff options
author | Jim Winstead <jimw@mysql.com> | 2009-05-20 18:31:10 -0700 |
---|---|---|
committer | Jim Winstead <jimw@mysql.com> | 2009-05-20 18:31:10 -0700 |
commit | f0f4efd77e3eb7d62176396b5ccf53d7a7029c85 (patch) | |
tree | 8bbcf7fdd84e32f5d82edf7346379e4db4e0a539 /mysql-test/t/mysqlcheck.test | |
parent | d57bb98ff5c62fff7d9912dd0a96ad99fcab3861 (diff) | |
download | mariadb-git-f0f4efd77e3eb7d62176396b5ccf53d7a7029c85.tar.gz |
mysqlcheck failed to fix table names when using the --fix-table-names
and --all-in-1 options together. (Bug #31821)
Diffstat (limited to 'mysql-test/t/mysqlcheck.test')
-rw-r--r-- | mysql-test/t/mysqlcheck.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlcheck.test b/mysql-test/t/mysqlcheck.test index e834c60dcb5..986b5aba385 100644 --- a/mysql-test/t/mysqlcheck.test +++ b/mysql-test/t/mysqlcheck.test @@ -193,5 +193,22 @@ DROP DATABASE `a@b`; USE test; +--echo # +--echo # Bug #31821: --all-in-1 and --fix-table-names don't work together +--echo # + +--disable_warnings +drop table if exists `#mysql50#t1-1`; +--enable_warnings + +create table `#mysql50#t1-1` (a int); +--exec $MYSQL_CHECK --all-in-1 --fix-table-names --databases test +show tables like 't1-1'; +drop table `t1-1`; + +create table `#mysql50#t1-1` (a int); +--exec $MYSQL_CHECK --all-in-1 --fix-table-names test "#mysql50#t1-1" +show tables like 't1-1'; +drop table `t1-1`; --echo End of 5.1 tests |