Current Path : /home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/engines/funcs/r/tc_partition_value_error.result |
DROP TABLE IF EXISTS t1; CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (20), PARTITION p1 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: Duplicate partition name p1 CREATE TABLE t1 (c1 SMALLINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (10), PARTITION p2 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (20), PARTITION p1 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: Duplicate partition name p1 CREATE TABLE t1 (c1 MEDIUMINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (10), PARTITION p2 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (20), PARTITION p1 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: Duplicate partition name p1 CREATE TABLE t1 (c1 INT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (10), PARTITION p2 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (20), PARTITION p1 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: Duplicate partition name p1 CREATE TABLE t1 (c1 INTEGER NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (10), PARTITION p2 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (20), PARTITION p1 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: Duplicate partition name p1 CREATE TABLE t1 (c1 BIGINT NOT NULL PRIMARY KEY, c2 CHAR(5)) PARTITION BY RANGE ( c1 ) ( PARTITION p0 VALUES LESS THAN (10), PARTITION p1 VALUES LESS THAN (10), PARTITION p2 VALUES LESS THAN (30), PARTITION p3 VALUES LESS THAN MAXVALUE ); ERROR HY000: VALUES LESS THAN value must be strictly increasing for each partition