test fixed
This commit is contained in:
parent
12a513f10d
commit
bc08ff0421
@ -137,14 +137,15 @@ COUNT(*)
|
|||||||
2
|
2
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
create table t1 (int_column int, char_column char(5))
|
create table t1 (int_column int, char_column char(5))
|
||||||
PARTITION BY RANGE (int_column) subpartition by key (char_column)
|
PARTITION BY RANGE (int_column) subpartition by key (char_column) subpartitions 2
|
||||||
(PARTITION p1 VALUES LESS THAN (5) ENGINE = InnoDB);
|
(PARTITION p1 VALUES LESS THAN (5) ENGINE = InnoDB);
|
||||||
alter table t1 PARTITION BY RANGE (int_column) subpartition by key (char_column)
|
alter table t1 PARTITION BY RANGE (int_column)
|
||||||
|
subpartition by key (char_column) subpartitions 2
|
||||||
(PARTITION p1 VALUES LESS THAN (5) ENGINE = myisam);
|
(PARTITION p1 VALUES LESS THAN (5) ENGINE = myisam);
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
`int_column` int(11) DEFAULT NULL,
|
`int_column` int(11) DEFAULT NULL,
|
||||||
`char_column` char(5) DEFAULT NULL
|
`char_column` char(5) DEFAULT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY RANGE (int_column) SUBPARTITION BY KEY (char_column) (PARTITION p1 VALUES LESS THAN (5) ENGINE = MyISAM) */
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY RANGE (int_column) SUBPARTITION BY KEY (char_column) SUBPARTITIONS 2 (PARTITION p1 VALUES LESS THAN (5) ENGINE = MyISAM) */
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
@ -147,9 +147,10 @@ DROP TABLE t1;
|
|||||||
# Bug #31893 Partitions: crash if subpartitions and engine change
|
# Bug #31893 Partitions: crash if subpartitions and engine change
|
||||||
#
|
#
|
||||||
create table t1 (int_column int, char_column char(5))
|
create table t1 (int_column int, char_column char(5))
|
||||||
PARTITION BY RANGE (int_column) subpartition by key (char_column)
|
PARTITION BY RANGE (int_column) subpartition by key (char_column) subpartitions 2
|
||||||
(PARTITION p1 VALUES LESS THAN (5) ENGINE = InnoDB);
|
(PARTITION p1 VALUES LESS THAN (5) ENGINE = InnoDB);
|
||||||
alter table t1 PARTITION BY RANGE (int_column) subpartition by key (char_column)
|
alter table t1 PARTITION BY RANGE (int_column)
|
||||||
|
subpartition by key (char_column) subpartitions 2
|
||||||
(PARTITION p1 VALUES LESS THAN (5) ENGINE = myisam);
|
(PARTITION p1 VALUES LESS THAN (5) ENGINE = myisam);
|
||||||
show create table t1;
|
show create table t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user