summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/storage_engine/tbl_opt_union.result
blob: 81521eff8a24099f6a602b84b7f4bc960d5b35ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DROP TABLE IF EXISTS t1, child1, child2;
CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS> UNION(child1);
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `a` int(11) DEFAULT NULL
) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1 UNION=(`child1`)
ALTER TABLE t1 UNION = (child1,child2);
SHOW CREATE TABLE t1;
Table	Create Table
t1	CREATE TABLE `t1` (
  `a` int(11) DEFAULT NULL
) ENGINE=<STORAGE_ENGINE> DEFAULT CHARSET=latin1 UNION=(`child1`,`child2`)
DROP TABLE t1, child1, child2;