summaryrefslogtreecommitdiff
path: root/mysql-test/r/show_check.result
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-03-05 17:57:36 +0400
committerunknown <vva@eagle.mysql.r18.ru>2004-03-05 17:57:36 +0400
commit7b626ab7caeab4d6951a89074d83296ab81621bb (patch)
tree9a93471b9de71a1373e522e66856a5d6f8a8a46d /mysql-test/r/show_check.result
parentdabfe4e517139a8b3ae64a15c2b1fee6a4b1b725 (diff)
downloadmariadb-git-7b626ab7caeab4d6951a89074d83296ab81621bb.tar.gz
commented testcases in show_check.test with quotation marks in table name
to avoid troubles with OS which don't support these symbols in file name used create table 'a/b' as hook for WL#1324 which should fix this problem mysql-test/r/show_check.result: commented testcases with quotation marks in table name to avoid troubles with OS which don't support these symbols in file name used create table 'a/b' as hook for WL#1324 which should fix this problem mysql-test/t/show_check.test: commented testcases with quotation marks in table name to avoid troubles with OS which don't support these symbols in file name used create table 'a/b' as hook for WL#1324 which should fix this problem
Diffstat (limited to 'mysql-test/r/show_check.result')
-rw-r--r--mysql-test/r/show_check.result43
1 files changed, 9 insertions, 34 deletions
diff --git a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result
index 6a08dca213c..d77bcb8ab7a 100644
--- a/mysql-test/r/show_check.result
+++ b/mysql-test/r/show_check.result
@@ -265,39 +265,13 @@ c decimal(4,3) YES NULL
d double(4,3) YES NULL
f float(4,3) YES NULL
drop table t1;
-SET sql_mode='';
-SET sql_quote_show_create=OFF;
-CREATE TABLE ```ab``cd``` (i INT);
-SHOW CREATE TABLE ```ab``cd```;
-Table Create Table
-`ab`cd` CREATE TABLE ```ab``cd``` (
- i int(11) default NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-DROP TABLE ```ab``cd```;
-CREATE TABLE ```ab````cd``` (i INT);
-SHOW CREATE TABLE ```ab````cd```;
-Table Create Table
-`ab``cd` CREATE TABLE ```ab````cd``` (
- i int(11) default NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-DROP TABLE ```ab````cd```;
-CREATE TABLE ```a` (i INT);
-SHOW CREATE TABLE ```a`;
-Table Create Table
-`a CREATE TABLE ```a` (
- i int(11) default NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-DROP TABLE ```a`;
-SET sql_mode='ANSI_QUOTES';
-CREATE TABLE """a" (i INT);
-SHOW CREATE TABLE """a";
-Table Create Table
-"a CREATE TABLE """a" (
- i int(11) default NULL
-) ENGINE=MyISAM DEFAULT CHARSET=latin1
-DROP TABLE """a";
-SET sql_mode='';
-SET sql_quote_show_create=OFF;
+SET @old_sql_mode= @@sql_mode, sql_mode= '';
+SET @old_sql_quote_show_create= @@sql_quote_show_create, sql_quote_show_create= OFF;
+CREATE TABLE `a/b` (i INT);
+ERROR 42000: Incorrect table name 'a/b'
+SET sql_mode= 'ANSI_QUOTES';
+SET sql_mode= '';
+SET sql_quote_show_create= OFF;
CREATE TABLE t1 (i INT);
SHOW CREATE TABLE t1;
Table Create Table
@@ -312,7 +286,8 @@ table CREATE TABLE `table` (
i int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
DROP TABLE `table`;
-SET sql_quote_show_create=ON;
+SET sql_quote_show_create= @old_sql_quote_show_create;
+SET sql_mode= @old_sql_mode;
select @@max_heap_table_size;
@@max_heap_table_size
1047552