diff options
author | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-10-30 12:51:57 +0400 |
---|---|---|
committer | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-10-30 12:51:57 +0400 |
commit | 2611e8ec0c3abac191100ab5c8527ff21ba99d81 (patch) | |
tree | 92a047d7a9abf8a421ab94c284c154a9cc0a887e /mysql-test/r/mysqlcheck.result | |
parent | 432d42e70c3b65b16604cb4acb212e3f628d9df5 (diff) | |
download | mariadb-git-2611e8ec0c3abac191100ab5c8527ff21ba99d81.tar.gz |
Fix for bug #30654: mysqlcheck fails during upgrade of tables whose
names include backticks or blank
Problem: mysqlcheck doesn't escape backtick characters in the table names.
Fix: escape them.
client/mysqlcheck.c:
Fix for bug #30654: mysqlcheck fails during upgrade of tables whose
names include backticks or blank
- escape backtick characters in the table names.
mysql-test/r/mysqlcheck.result:
Fix for bug #30654: mysqlcheck fails during upgrade of tables whose
names include backticks or blank
- test result.
mysql-test/t/mysqlcheck.test:
Fix for bug #30654: mysqlcheck fails during upgrade of tables whose
names include backticks or blank
- test case.
Diffstat (limited to 'mysql-test/r/mysqlcheck.result')
-rw-r--r-- | mysql-test/r/mysqlcheck.result | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/r/mysqlcheck.result b/mysql-test/r/mysqlcheck.result index b2820df8f4c..f8a28009c42 100644 --- a/mysql-test/r/mysqlcheck.result +++ b/mysql-test/r/mysqlcheck.result @@ -1,4 +1,4 @@ -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; mysql.columns_priv OK @@ -41,4 +41,9 @@ test.t1 OK test.t1 OK drop view v1; drop table t1; +create table `t``1`(a int); +create table `t 1`(a int); +test.t 1 OK +test.t`1 OK +drop table `t``1`, `t 1`; End of 5.0 tests |