Commit 5ff2db7f authored by Elena Stepanova's avatar Elena Stepanova

Follow-up for MDEV-13089 (identifier quoting in partitioning)

Adjust results for storage_engine tests
parent 4df726e1
......@@ -14,7 +14,7 @@ t1 CREATE TABLE `t1` (
`c` char(8) DEFAULT NULL,
PRIMARY KEY (`a`)
) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1
PARTITION BY HASH (a)
PARTITION BY HASH (`a`)
PARTITIONS 2
INSERT INTO t1 (c) VALUES ('a'),('b'),('c');
SHOW CREATE TABLE t1;
......@@ -24,7 +24,7 @@ t1 CREATE TABLE `t1` (
`c` char(8) DEFAULT NULL,
PRIMARY KEY (`a`)
) ENGINE=<STORAGE_ENGINE> AUTO_INCREMENT=4 DEFAULT CHARSET=latin1
PARTITION BY HASH (a)
PARTITION BY HASH (`a`)
PARTITIONS 2
TRUNCATE TABLE t1;
SHOW CREATE TABLE t1;
......@@ -34,7 +34,7 @@ t1 CREATE TABLE `t1` (
`c` char(8) DEFAULT NULL,
PRIMARY KEY (`a`)
) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1
PARTITION BY HASH (a)
PARTITION BY HASH (`a`)
PARTITIONS 2
INSERT INTO t1 (c) VALUES ('d');
SHOW CREATE TABLE t1;
......@@ -44,7 +44,7 @@ t1 CREATE TABLE `t1` (
`c` char(8) DEFAULT NULL,
PRIMARY KEY (`a`)
) ENGINE=<STORAGE_ENGINE> AUTO_INCREMENT=2 DEFAULT CHARSET=latin1
PARTITION BY HASH (a)
PARTITION BY HASH (`a`)
PARTITIONS 2
SELECT a,c FROM t1;
a c
......
......@@ -27,7 +27,7 @@
- `c` char(8) DEFAULT NULL,
- PRIMARY KEY (`a`)
-) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1
- PARTITION BY HASH (a)
- PARTITION BY HASH (`a`)
-PARTITIONS 2
-INSERT INTO t1 (c) VALUES ('a'),('b'),('c');
-SHOW CREATE TABLE t1;
......@@ -37,7 +37,7 @@
- `c` char(8) DEFAULT NULL,
- PRIMARY KEY (`a`)
-) ENGINE=<STORAGE_ENGINE> AUTO_INCREMENT=4 DEFAULT CHARSET=latin1
- PARTITION BY HASH (a)
- PARTITION BY HASH (`a`)
-PARTITIONS 2
-TRUNCATE TABLE t1;
-SHOW CREATE TABLE t1;
......@@ -47,7 +47,7 @@
- `c` char(8) DEFAULT NULL,
- PRIMARY KEY (`a`)
-) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1
- PARTITION BY HASH (a)
- PARTITION BY HASH (`a`)
-PARTITIONS 2
-INSERT INTO t1 (c) VALUES ('d');
-SHOW CREATE TABLE t1;
......@@ -57,7 +57,7 @@
- `c` char(8) DEFAULT NULL,
- PRIMARY KEY (`a`)
-) ENGINE=<STORAGE_ENGINE> AUTO_INCREMENT=2 DEFAULT CHARSET=latin1
- PARTITION BY HASH (a)
- PARTITION BY HASH (`a`)
-PARTITIONS 2
-SELECT a,c FROM t1;
-a c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment