diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/part_supported_sql_func_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/part_supported_sql_func_tokudb.result index 5b860845490..0f2532c6f4b 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/part_supported_sql_func_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/part_supported_sql_func_tokudb.result @@ -619,7 +619,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` int(11) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (abs(col1)) SUBPARTITIONS 5 @@ -2316,7 +2316,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` int(11) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (mod(col1,10)) SUBPARTITIONS 5 @@ -3666,7 +3666,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (day(col1)) SUBPARTITIONS 5 @@ -4183,7 +4183,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (dayofmonth(col1)) SUBPARTITIONS 5 @@ -4700,7 +4700,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (dayofweek(col1)) SUBPARTITIONS 5 @@ -5229,7 +5229,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (dayofyear(col1)) SUBPARTITIONS 5 @@ -5748,7 +5748,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (extract(month from col1)) SUBPARTITIONS 5 @@ -6267,7 +6267,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` time DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (hour(col1)) SUBPARTITIONS 5 @@ -6792,7 +6792,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` time(6) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (microsecond(col1)) SUBPARTITIONS 5 @@ -7313,7 +7313,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` time DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (minute(col1)) SUBPARTITIONS 5 @@ -7844,7 +7844,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` time DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (second(col1)) SUBPARTITIONS 5 @@ -8375,7 +8375,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (month(col1)) SUBPARTITIONS 5 @@ -8900,7 +8900,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (quarter(col1)) SUBPARTITIONS 5 @@ -9423,7 +9423,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (weekday(col1)) SUBPARTITIONS 5 @@ -9944,7 +9944,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (year(col1)-1990) SUBPARTITIONS 5 @@ -10469,7 +10469,7 @@ Table Create Table t55 CREATE TABLE `t55` ( `colint` int(11) DEFAULT NULL, `col1` date DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (colint) SUBPARTITION BY HASH (yearweek(col1)-200600) SUBPARTITIONS 5 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_2_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_2_tokudb.result index 3fb51c67d00..865df022890 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_2_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_2_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -48,8 +48,8 @@ SET @@session.sql_mode= ''; # 1.2.1 PRIMARY KEY consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -74,7 +74,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -540,8 +540,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -566,7 +566,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -1032,8 +1032,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1066,7 +1066,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1539,8 +1539,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1571,7 +1571,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -2040,8 +2040,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2070,7 +2070,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -2539,8 +2539,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2573,7 +2573,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -3049,8 +3049,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3083,7 +3083,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -3561,8 +3561,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3591,7 +3591,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -4062,8 +4062,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4088,7 +4088,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -4554,8 +4554,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4580,7 +4580,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -5046,8 +5046,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5080,7 +5080,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5553,8 +5553,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5585,7 +5585,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -6054,8 +6054,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6084,7 +6084,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -6553,8 +6553,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6587,7 +6587,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -7063,8 +7063,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7097,7 +7097,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -7575,8 +7575,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7605,7 +7605,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -8077,8 +8077,8 @@ DROP TABLE t1; # 1.2.2 UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8097,13 +8097,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -8585,8 +8585,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8605,13 +8605,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -9093,8 +9093,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9121,13 +9121,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -9616,8 +9616,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9642,13 +9642,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -10133,8 +10133,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10157,13 +10157,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -10648,8 +10648,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10676,13 +10676,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -11174,8 +11174,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11202,13 +11202,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -11702,8 +11702,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11726,13 +11726,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -12219,8 +12219,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12239,13 +12239,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -12727,8 +12727,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12747,13 +12747,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -13235,8 +13235,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13263,13 +13263,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -13758,8 +13758,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13784,13 +13784,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -14275,8 +14275,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14299,13 +14299,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -14790,8 +14790,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14818,13 +14818,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -15316,8 +15316,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15344,13 +15344,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -15844,8 +15844,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15868,13 +15868,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -16362,8 +16362,8 @@ DROP TABLE t1; # 1.2.3 PRIMARY KEY and UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16389,7 +16389,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -16855,8 +16855,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16882,7 +16882,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -17348,8 +17348,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17383,7 +17383,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -17856,8 +17856,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17889,7 +17889,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -18358,8 +18358,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18389,7 +18389,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -18858,8 +18858,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18893,7 +18893,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -19369,8 +19369,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19404,7 +19404,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -19882,8 +19882,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19913,7 +19913,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -20384,8 +20384,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20411,7 +20411,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -20877,8 +20877,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20904,7 +20904,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -21370,8 +21370,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21405,7 +21405,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -21878,8 +21878,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21911,7 +21911,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -22380,8 +22380,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22411,7 +22411,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -22880,8 +22880,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22915,7 +22915,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -23391,8 +23391,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23426,7 +23426,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -23904,8 +23904,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23935,7 +23935,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -24406,8 +24406,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24433,7 +24433,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -24899,8 +24899,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24926,7 +24926,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -25392,8 +25392,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25427,7 +25427,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -25900,8 +25900,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25933,7 +25933,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -26402,8 +26402,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26433,7 +26433,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -26902,8 +26902,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26937,7 +26937,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -27413,8 +27413,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27448,7 +27448,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -27926,8 +27926,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27957,7 +27957,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_tokudb.result index 2cc7b4298fc..f34ca8939af 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_1_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -47,8 +47,8 @@ SET @@session.sql_mode= ''; #------------------------------------------------------------------------ DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -62,8 +62,8 @@ ALTER TABLE t1 ADD PRIMARY KEY(f_int2); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -77,8 +77,8 @@ ALTER TABLE t1 ADD PRIMARY KEY(f_int2); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -100,8 +100,8 @@ ALTER TABLE t1 ADD PRIMARY KEY(f_int2); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -121,8 +121,8 @@ ALTER TABLE t1 ADD PRIMARY KEY(f_int2); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -140,8 +140,8 @@ ALTER TABLE t1 ADD PRIMARY KEY(f_int2); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -163,8 +163,8 @@ ALTER TABLE t1 ADD PRIMARY KEY(f_int2); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -186,8 +186,8 @@ ALTER TABLE t1 ADD PRIMARY KEY(f_int2); ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -206,8 +206,8 @@ ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -221,8 +221,8 @@ ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2); ERROR HY000: A UNIQUE INDEX must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -236,8 +236,8 @@ ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2); ERROR HY000: A UNIQUE INDEX must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -259,8 +259,8 @@ ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2); ERROR HY000: A UNIQUE INDEX must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -280,8 +280,8 @@ ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2); ERROR HY000: A UNIQUE INDEX must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -299,8 +299,8 @@ ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2); ERROR HY000: A UNIQUE INDEX must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -322,8 +322,8 @@ ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2); ERROR HY000: A UNIQUE INDEX must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -345,8 +345,8 @@ ALTER TABLE t1 ADD UNIQUE INDEX uidx1 (f_int2); ERROR HY000: A UNIQUE INDEX must include all columns in the table's partitioning function DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -366,8 +366,8 @@ DROP TABLE t1; # 1.1.3 PRIMARY KEY consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -392,7 +392,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -858,8 +858,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -884,7 +884,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -1350,8 +1350,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1384,7 +1384,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1857,8 +1857,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1889,7 +1889,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -2358,8 +2358,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2388,7 +2388,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -2859,8 +2859,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2893,7 +2893,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -3369,8 +3369,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3403,7 +3403,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -3881,8 +3881,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3911,7 +3911,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -4382,8 +4382,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4408,7 +4408,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -4874,8 +4874,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4900,7 +4900,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -5366,8 +5366,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5400,7 +5400,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5873,8 +5873,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5905,7 +5905,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -6374,8 +6374,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6404,7 +6404,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -6875,8 +6875,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6909,7 +6909,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -7385,8 +7385,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7419,7 +7419,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -7897,8 +7897,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7927,7 +7927,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -8399,8 +8399,8 @@ DROP TABLE t1; # 1.1.4 UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8419,13 +8419,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -8907,8 +8907,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8927,13 +8927,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -9415,8 +9415,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9443,13 +9443,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -9938,8 +9938,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9964,13 +9964,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -10455,8 +10455,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10479,13 +10479,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -10972,8 +10972,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11000,13 +11000,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -11498,8 +11498,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11526,13 +11526,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -12026,8 +12026,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12050,13 +12050,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -12543,8 +12543,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12563,13 +12563,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -13051,8 +13051,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13071,13 +13071,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -13559,8 +13559,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13587,13 +13587,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -14082,8 +14082,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14108,13 +14108,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -14599,8 +14599,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14623,13 +14623,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -15116,8 +15116,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15144,13 +15144,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -15642,8 +15642,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15670,13 +15670,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -16170,8 +16170,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16194,13 +16194,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_2_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_2_tokudb.result index 4aded14f336..a9acdaa23d3 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_2_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter1_2_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -47,8 +47,8 @@ SET @@session.sql_mode= ''; # 2.1.5 DROP PRIMARY KEY + UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -72,7 +72,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -487,8 +487,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -512,7 +512,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -927,8 +927,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -960,7 +960,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1382,8 +1382,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1413,7 +1413,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -1831,8 +1831,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1860,7 +1860,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -2280,8 +2280,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2313,7 +2313,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -2738,8 +2738,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2771,7 +2771,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -3198,8 +3198,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3227,7 +3227,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -3647,8 +3647,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3672,7 +3672,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -4087,8 +4087,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4112,7 +4112,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -4527,8 +4527,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4560,7 +4560,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -4982,8 +4982,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5013,7 +5013,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -5431,8 +5431,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5460,7 +5460,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -5880,8 +5880,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5913,7 +5913,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -6338,8 +6338,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6371,7 +6371,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -6798,8 +6798,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6827,7 +6827,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -7247,8 +7247,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7267,12 +7267,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -7703,8 +7703,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7723,12 +7723,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -8159,8 +8159,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8187,12 +8187,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -8630,8 +8630,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8656,12 +8656,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -9095,8 +9095,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9119,12 +9119,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -9560,8 +9560,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9588,12 +9588,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -10034,8 +10034,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10062,12 +10062,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -10510,8 +10510,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10534,12 +10534,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -10979,8 +10979,8 @@ DROP TABLE t1; # 2.2.1 DROP PRIMARY KEY consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11004,7 +11004,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -11419,8 +11419,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11444,7 +11444,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -11859,8 +11859,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11892,7 +11892,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -12314,8 +12314,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12345,7 +12345,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -12763,8 +12763,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12792,7 +12792,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -13210,8 +13210,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13243,7 +13243,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -13668,8 +13668,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13701,7 +13701,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -14128,8 +14128,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14157,7 +14157,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -14577,8 +14577,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14602,7 +14602,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -15017,8 +15017,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15042,7 +15042,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -15457,8 +15457,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15490,7 +15490,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -15912,8 +15912,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15943,7 +15943,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -16361,8 +16361,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16390,7 +16390,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -16808,8 +16808,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16841,7 +16841,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -17266,8 +17266,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17299,7 +17299,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -17726,8 +17726,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17755,7 +17755,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -18176,8 +18176,8 @@ DROP TABLE t1; # 2.2.2 DROP UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18196,12 +18196,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -18632,8 +18632,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18652,12 +18652,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -19088,8 +19088,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19116,12 +19116,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -19559,8 +19559,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19585,12 +19585,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -20024,8 +20024,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20048,12 +20048,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -20487,8 +20487,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20515,12 +20515,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -20961,8 +20961,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20989,12 +20989,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -21437,8 +21437,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21461,12 +21461,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -21902,8 +21902,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21922,12 +21922,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -22358,8 +22358,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22378,12 +22378,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -22814,8 +22814,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22842,12 +22842,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -23285,8 +23285,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23311,12 +23311,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -23750,8 +23750,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23774,12 +23774,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -24213,8 +24213,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24241,12 +24241,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -24687,8 +24687,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24715,12 +24715,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -25163,8 +25163,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25187,12 +25187,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -25629,8 +25629,8 @@ DROP TABLE t1; # 2.2.3 DROP PRIMARY KEY + UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25654,7 +25654,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -26069,8 +26069,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26094,7 +26094,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -26509,8 +26509,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26542,7 +26542,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -26964,8 +26964,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26995,7 +26995,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -27413,8 +27413,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27442,7 +27442,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -27860,8 +27860,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27893,7 +27893,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -28318,8 +28318,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -28351,7 +28351,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -28778,8 +28778,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -28807,7 +28807,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -29227,8 +29227,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -29252,7 +29252,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -29667,8 +29667,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -29692,7 +29692,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -30107,8 +30107,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -30140,7 +30140,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -30562,8 +30562,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -30593,7 +30593,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -31011,8 +31011,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -31040,7 +31040,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -31458,8 +31458,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -31491,7 +31491,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -31916,8 +31916,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -31949,7 +31949,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -32376,8 +32376,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -32405,7 +32405,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -32825,8 +32825,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -32845,12 +32845,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -33281,8 +33281,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -33301,12 +33301,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -33737,8 +33737,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -33765,12 +33765,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -34208,8 +34208,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -34234,12 +34234,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -34673,8 +34673,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -34697,12 +34697,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -35136,8 +35136,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -35164,12 +35164,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -35610,8 +35610,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -35638,12 +35638,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -36086,8 +36086,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -36110,12 +36110,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_1_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_1_tokudb.result index 6838b33d89d..9decb8c21f5 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_1_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_1_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -48,8 +48,8 @@ SET @@session.sql_mode= ''; # 1.1.1 no PRIMARY KEY or UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -68,12 +68,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -504,8 +504,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -524,12 +524,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -960,8 +960,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -988,12 +988,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1431,8 +1431,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1457,12 +1457,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -1896,8 +1896,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1920,12 +1920,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -2361,8 +2361,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2389,12 +2389,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -2835,8 +2835,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2863,12 +2863,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -3311,8 +3311,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3335,12 +3335,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -3777,8 +3777,8 @@ DROP TABLE t1; # 1.1.2 PRIMARY KEY exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3798,12 +3798,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -4237,8 +4237,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4271,8 +4269,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4292,12 +4290,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -4731,8 +4729,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4765,8 +4761,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4794,12 +4790,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5240,8 +5236,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5274,8 +5268,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5301,12 +5295,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -5743,8 +5737,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5777,8 +5769,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5802,12 +5794,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -6246,8 +6238,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6280,8 +6270,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6309,12 +6299,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -6758,8 +6748,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6792,8 +6780,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6821,12 +6809,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -7272,8 +7260,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7306,8 +7292,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7331,12 +7317,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -7774,8 +7760,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7809,8 +7793,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7830,12 +7814,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -8269,8 +8253,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8303,8 +8285,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8324,12 +8306,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -8763,8 +8745,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8797,8 +8777,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8826,12 +8806,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -9272,8 +9252,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9306,8 +9284,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9333,12 +9311,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -9775,8 +9753,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9809,8 +9785,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9834,12 +9810,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -10278,8 +10254,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10312,8 +10286,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10341,12 +10315,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -10790,8 +10764,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10824,8 +10796,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10853,12 +10825,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -11304,8 +11276,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11338,8 +11308,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11363,12 +11333,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` bigint(20) NOT NULL, + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -11806,8 +11776,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11842,8 +11810,8 @@ DROP TABLE t1; # 1.1.3 UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11862,13 +11830,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -12350,8 +12318,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12370,13 +12338,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -12858,8 +12826,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12886,13 +12854,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -13381,8 +13349,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13407,13 +13375,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -13898,8 +13866,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13922,13 +13890,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -14415,8 +14383,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14443,13 +14411,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -14941,8 +14909,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14969,13 +14937,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -15469,8 +15437,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15493,13 +15461,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -15986,8 +15954,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16006,13 +15974,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -16494,8 +16462,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16514,13 +16482,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -17002,8 +16970,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17030,13 +16998,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -17525,8 +17493,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17551,13 +17519,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -18042,8 +18010,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18066,13 +18034,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -18559,8 +18527,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18587,13 +18555,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -19085,8 +19053,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19113,13 +19081,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -19613,8 +19581,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19637,13 +19605,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` bigint(20) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_2_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_2_tokudb.result index f6e98be3c98..f14da0a5749 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_2_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_1_2_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -44,8 +44,8 @@ SET @@session.sql_mode= ''; # 1.3.1 no PRIMARY KEY or UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -69,7 +69,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -500,8 +500,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -525,7 +525,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -956,8 +956,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -989,7 +989,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1427,8 +1427,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1458,7 +1458,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -1892,8 +1892,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1921,7 +1921,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -2355,8 +2355,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2388,7 +2388,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -2829,8 +2829,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2862,7 +2862,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -3305,8 +3305,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3334,7 +3334,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -3771,8 +3771,8 @@ DROP TABLE t1; # 1.3.2 PRIMARY KEY exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3791,13 +3791,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -4231,9 +4231,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4266,8 +4263,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4286,13 +4283,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -4726,9 +4723,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4761,8 +4755,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4789,13 +4783,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5236,9 +5230,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5271,8 +5262,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5297,13 +5288,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -5740,9 +5731,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5775,8 +5763,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5799,13 +5787,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -6242,9 +6230,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6277,8 +6262,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6305,13 +6290,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -6755,9 +6740,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6790,8 +6772,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6818,13 +6800,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -7270,9 +7252,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7305,8 +7284,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7329,13 +7308,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -7773,9 +7752,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7809,8 +7785,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7829,13 +7805,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -8269,9 +8245,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8304,8 +8277,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8324,13 +8297,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -8764,9 +8737,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8799,8 +8769,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8827,13 +8797,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -9274,9 +9244,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9309,8 +9276,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9335,13 +9302,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -9778,9 +9745,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9813,8 +9777,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9837,13 +9801,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -10280,9 +10244,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10315,8 +10276,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10343,13 +10304,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -10793,9 +10754,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10828,8 +10786,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10856,13 +10814,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -11308,9 +11266,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11343,8 +11298,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11367,13 +11322,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` bigint(20) NOT NULL, - `f_int2` bigint(20) NOT NULL, + `f_int1` bigint(20) NOT NULL DEFAULT '0', + `f_int2` bigint(20) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -11811,9 +11766,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11848,8 +11800,8 @@ DROP TABLE t1; # 1.3.3 UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11874,7 +11826,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -12356,8 +12308,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12382,7 +12334,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -12864,8 +12816,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12898,7 +12850,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -13387,8 +13339,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13419,7 +13371,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -13904,8 +13856,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13934,7 +13886,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -14419,8 +14371,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14453,7 +14405,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -14945,8 +14897,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14979,7 +14931,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -15473,8 +15425,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15503,7 +15455,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -15990,8 +15942,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16016,7 +15968,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -16498,8 +16450,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16524,7 +16476,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -17006,8 +16958,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17040,7 +16992,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -17529,8 +17481,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17561,7 +17513,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -18046,8 +17998,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18076,7 +18028,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -18561,8 +18513,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18595,7 +18547,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -19087,8 +19039,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19121,7 +19073,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -19615,8 +19567,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19645,7 +19597,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_1_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_1_tokudb.result index 883c9ec3453..f63805fcab9 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_1_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_1_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -48,8 +48,8 @@ SET @@session.sql_mode= ''; # 2.1.1 no PRIMARY KEY or UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -68,12 +68,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -506,8 +506,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -526,12 +526,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -964,8 +964,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -992,12 +992,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1437,8 +1437,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1463,12 +1463,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -1902,8 +1902,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1926,12 +1926,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -2369,8 +2369,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2397,12 +2397,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -2843,8 +2843,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2871,12 +2871,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -3321,8 +3321,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3345,12 +3345,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -3788,8 +3788,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3809,12 +3809,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -4250,8 +4250,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4284,8 +4282,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4305,12 +4303,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -4746,8 +4744,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4780,8 +4776,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4809,12 +4805,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5257,8 +5253,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5291,8 +5285,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5318,12 +5312,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -5760,8 +5754,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5794,8 +5786,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5819,12 +5811,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -6265,8 +6257,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6299,8 +6289,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6328,12 +6318,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -6777,8 +6767,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6811,8 +6799,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6840,12 +6828,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -7293,8 +7281,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7327,8 +7313,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7352,12 +7338,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -7797,8 +7783,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7832,8 +7816,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7853,12 +7837,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -8294,8 +8278,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8328,8 +8310,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8349,12 +8331,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -8790,8 +8772,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8824,8 +8804,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8853,12 +8833,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -9301,8 +9281,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9335,8 +9313,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9362,12 +9340,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -9804,8 +9782,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9838,8 +9814,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9863,12 +9839,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -10309,8 +10285,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10343,8 +10317,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10372,12 +10346,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -10821,8 +10795,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10855,8 +10827,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10884,12 +10856,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -11337,8 +11309,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11371,8 +11341,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11396,12 +11366,12 @@ SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `f_int1` int(11) NOT NULL DEFAULT '0', - `f_int2` mediumint(9) NOT NULL, + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -11841,8 +11811,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11877,8 +11845,8 @@ DROP TABLE t1; # 2.1.3 UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11897,13 +11865,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -12387,8 +12355,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12407,13 +12375,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -12897,8 +12865,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12925,13 +12893,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -13422,8 +13390,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13448,13 +13416,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -13939,8 +13907,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13963,13 +13931,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -14458,8 +14426,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14486,13 +14454,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -14984,8 +14952,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15012,13 +14980,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -15514,8 +15482,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15538,13 +15506,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -16033,8 +16001,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16053,13 +16021,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -16543,8 +16511,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16563,13 +16531,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -17053,8 +17021,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17081,13 +17049,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -17578,8 +17546,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17604,13 +17572,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -18095,8 +18063,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18119,13 +18087,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -18614,8 +18582,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18642,13 +18610,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -19140,8 +19108,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19168,13 +19136,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -19670,8 +19638,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19694,13 +19662,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, `f_int2` mediumint(9) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_2_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_2_tokudb.result index 993025c9fb2..9d34287f794 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_2_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter2_2_2_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -43,8 +43,8 @@ SET @@session.sql_mode= ''; # 2.3.1 no PRIMARY KEY or UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -68,7 +68,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -502,8 +502,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -527,7 +527,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -961,8 +961,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -994,7 +994,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1435,8 +1435,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1466,7 +1466,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -1905,8 +1905,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1934,7 +1934,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -2373,8 +2373,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2406,7 +2406,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -2852,8 +2852,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2885,7 +2885,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -3331,8 +3331,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3360,7 +3360,7 @@ t1 CREATE TABLE `t1` ( `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -3800,8 +3800,8 @@ DROP TABLE t1; # 2.3.2 PRIMARY KEY exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3820,13 +3820,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -4263,9 +4263,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4298,8 +4295,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4318,13 +4315,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -4761,9 +4758,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -4796,8 +4790,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4824,13 +4818,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5274,9 +5268,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5309,8 +5300,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5335,13 +5326,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -5783,9 +5774,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -5818,8 +5806,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5842,13 +5830,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -6290,9 +6278,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6325,8 +6310,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6353,13 +6338,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -6808,9 +6793,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -6843,8 +6825,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6871,13 +6853,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -7326,9 +7308,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7361,8 +7340,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7385,13 +7364,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -7832,9 +7811,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -7868,8 +7844,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7888,13 +7864,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -8331,9 +8307,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8366,8 +8339,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8386,13 +8359,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -8829,9 +8802,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -8864,8 +8834,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8892,13 +8862,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -9342,9 +9312,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9377,8 +9344,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9403,13 +9370,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -9851,9 +9818,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -9886,8 +9850,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9910,13 +9874,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -10358,9 +10322,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10393,8 +10354,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10421,13 +10382,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -10876,9 +10837,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -10911,8 +10869,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10939,13 +10897,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -11394,9 +11352,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11429,8 +11384,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11453,13 +11408,13 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` mediumint(9) NOT NULL, - `f_int2` mediumint(9) NOT NULL, + `f_int1` mediumint(9) NOT NULL DEFAULT '0', + `f_int2` mediumint(9) NOT NULL DEFAULT '0', `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -11900,9 +11855,6 @@ SELECT CAST(f_int1 AS CHAR), CAST(f_int1 AS CHAR), 'just inserted' FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 - 1 AND @max_row_div2 + 1 ORDER BY f_int1; -Warnings: -Warning 1364 Field 'f_int1' doesn't have a default value -Warning 1364 Field 'f_int2' doesn't have a default value DROP TRIGGER trg_3; # check trigger-12 success: 1 @@ -11937,8 +11889,8 @@ DROP TABLE t1; # 2.3.3 UNIQUE INDEX exists DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11963,7 +11915,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -12448,8 +12400,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12474,7 +12426,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -12959,8 +12911,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12993,7 +12945,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -13485,8 +13437,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13517,7 +13469,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -14007,8 +13959,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14037,7 +13989,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -14527,8 +14479,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14561,7 +14513,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -15058,8 +15010,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15092,7 +15044,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -15589,8 +15541,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15619,7 +15571,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -16109,8 +16061,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16135,7 +16087,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -16620,8 +16572,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16646,7 +16598,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -17131,8 +17083,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17165,7 +17117,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -17657,8 +17609,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17689,7 +17641,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -18179,8 +18131,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18209,7 +18161,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -18699,8 +18651,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18733,7 +18685,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -19230,8 +19182,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19264,7 +19216,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -19761,8 +19713,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19791,7 +19743,7 @@ t1 CREATE TABLE `t1` ( `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter4_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter4_tokudb.result index 8412c7b37b0..bdec60ed889 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter4_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_alter4_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -47,8 +47,8 @@ SET @@session.sql_mode= ''; # 1.1 ALTER ... ANALYZE PARTITION part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -69,12 +69,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -506,8 +506,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -528,12 +528,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -968,8 +968,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -998,12 +998,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1441,8 +1441,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1469,12 +1469,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -1908,8 +1908,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1934,12 +1934,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -2375,8 +2375,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2405,12 +2405,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -2851,8 +2851,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2881,12 +2881,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -3329,8 +3329,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3355,12 +3355,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -3797,8 +3797,8 @@ DROP TABLE t1; # 1.2 ALTER ... ANALYZE PARTITION part_1,part_2; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3819,12 +3819,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -4256,8 +4256,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4278,12 +4278,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -4718,8 +4718,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4748,12 +4748,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5191,8 +5191,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5219,12 +5219,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -5658,8 +5658,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5684,12 +5684,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -6125,8 +6125,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6155,12 +6155,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -6601,8 +6601,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6631,12 +6631,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -7079,8 +7079,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7105,12 +7105,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -7547,8 +7547,8 @@ DROP TABLE t1; # 1.3 ALTER ... ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7560,8 +7560,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -7570,12 +7569,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -8007,8 +8006,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8020,8 +8019,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -8030,12 +8028,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -8470,8 +8468,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8491,8 +8489,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -8501,12 +8498,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -8944,8 +8941,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8963,8 +8960,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -8973,12 +8969,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -9412,8 +9408,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9429,8 +9425,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -9439,12 +9434,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -9880,8 +9875,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9901,8 +9896,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -9911,12 +9905,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -10357,8 +10351,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10378,8 +10372,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -10388,12 +10381,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -10836,8 +10829,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10853,8 +10846,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -10863,12 +10855,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -11305,8 +11297,8 @@ DROP TABLE t1; # 1.4 ALTER ... ANALYZE PARTITION part_1,part_1,part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11318,8 +11310,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -11328,12 +11319,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -11765,8 +11756,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11778,8 +11769,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -11788,12 +11778,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -12228,8 +12218,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12249,8 +12239,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -12259,12 +12248,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -12702,8 +12691,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12721,8 +12710,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -12731,12 +12719,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -13170,8 +13158,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13187,8 +13175,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -13197,12 +13184,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -13638,8 +13625,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13659,8 +13646,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -13669,12 +13655,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -14115,8 +14101,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14136,8 +14122,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -14146,12 +14131,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -14594,8 +14579,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14611,8 +14596,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 ANALYZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 analyze Error Error in list of partitions to test.t1 -test.t1 analyze status Operation failed +test.t1 analyze error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -14621,12 +14605,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -15063,8 +15047,8 @@ DROP TABLE t1; # 1.5 ALTER ... ANALYZE PARTITION ALL; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15085,12 +15069,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -15522,8 +15506,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15544,12 +15528,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -15984,8 +15968,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16014,12 +15998,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -16457,8 +16441,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16485,12 +16469,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -16924,8 +16908,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16950,12 +16934,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -17391,8 +17375,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17421,12 +17405,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -17867,8 +17851,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17897,12 +17881,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -18345,8 +18329,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18371,12 +18355,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -18816,8 +18800,8 @@ DROP TABLE t1; # 2.1 ALTER ... CHECK PARTITION part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18838,12 +18822,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -19275,8 +19259,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19297,12 +19281,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -19737,8 +19721,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19767,12 +19751,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -20210,8 +20194,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20238,12 +20222,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -20677,8 +20661,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20703,12 +20687,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -21144,8 +21128,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21174,12 +21158,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -21620,8 +21604,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21650,12 +21634,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -22098,8 +22082,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22124,12 +22108,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -22566,8 +22550,8 @@ DROP TABLE t1; # 2.2 ALTER ... CHECK PARTITION part_1,part_2; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22588,12 +22572,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -23025,8 +23009,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23047,12 +23031,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -23487,8 +23471,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23517,12 +23501,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -23960,8 +23944,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23988,12 +23972,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -24427,8 +24411,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24453,12 +24437,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -24894,8 +24878,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24924,12 +24908,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -25370,8 +25354,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25400,12 +25384,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -25848,8 +25832,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25874,12 +25858,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -26316,8 +26300,8 @@ DROP TABLE t1; # 2.3 ALTER ... CHECK PARTITION part_1,part_2,part_5,part_6,part_10; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26329,8 +26313,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -26339,12 +26322,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -26776,8 +26759,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26789,8 +26772,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -26799,12 +26781,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -27239,8 +27221,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27260,8 +27242,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -27270,12 +27251,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -27713,8 +27694,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27732,8 +27713,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -27742,12 +27722,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -28181,8 +28161,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -28198,8 +28178,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -28208,12 +28187,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -28649,8 +28628,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -28670,8 +28649,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -28680,12 +28658,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -29126,8 +29104,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -29147,8 +29125,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -29157,12 +29134,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -29605,8 +29582,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -29622,8 +29599,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -29632,12 +29608,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -30074,8 +30050,8 @@ DROP TABLE t1; # 2.4 ALTER ... CHECK PARTITION part_1,part_1,part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -30087,8 +30063,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -30097,12 +30072,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -30534,8 +30509,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -30547,8 +30522,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -30557,12 +30531,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -30997,8 +30971,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -31018,8 +30992,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -31028,12 +31001,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -31471,8 +31444,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -31490,8 +31463,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -31500,12 +31472,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -31939,8 +31911,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -31956,8 +31928,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -31966,12 +31937,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -32407,8 +32378,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -32428,8 +32399,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -32438,12 +32408,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -32884,8 +32854,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -32905,8 +32875,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -32915,12 +32884,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -33363,8 +33332,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -33380,8 +33349,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 CHECK PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 check Error Error in list of partitions to test.t1 -test.t1 check status Operation failed +test.t1 check error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -33390,12 +33358,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -33832,8 +33800,8 @@ DROP TABLE t1; # 2.5 ALTER ... CHECK PARTITION ALL; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -33854,12 +33822,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -34291,8 +34259,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -34313,12 +34281,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -34753,8 +34721,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -34783,12 +34751,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -35226,8 +35194,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -35254,12 +35222,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -35693,8 +35661,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -35719,12 +35687,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -36160,8 +36128,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -36190,12 +36158,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -36636,8 +36604,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -36666,12 +36634,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -37114,8 +37082,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -37140,12 +37108,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -37585,8 +37553,8 @@ DROP TABLE t1; # 3.1 ALTER ... OPTIMIZE PARTITION part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -37608,12 +37576,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -38045,8 +38013,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -38068,12 +38036,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -38508,8 +38476,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -38539,12 +38507,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -38982,8 +38950,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -39011,12 +38979,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -39450,8 +39418,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -39477,12 +39445,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -39918,8 +39886,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -39949,12 +39917,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -40395,8 +40363,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -40426,12 +40394,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -40874,8 +40842,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -40901,12 +40869,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -41343,8 +41311,8 @@ DROP TABLE t1; # 3.2 ALTER ... OPTIMIZE PARTITION part_1,part_2; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -41366,12 +41334,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -41803,8 +41771,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -41826,12 +41794,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -42266,8 +42234,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -42297,12 +42265,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -42740,8 +42708,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -42769,12 +42737,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -43208,8 +43176,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -43235,12 +43203,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -43676,8 +43644,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -43707,12 +43675,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -44153,8 +44121,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -44184,12 +44152,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -44632,8 +44600,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -44659,12 +44627,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -45101,8 +45069,8 @@ DROP TABLE t1; # 3.3 ALTER ... OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -45114,8 +45082,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -45124,12 +45091,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -45561,8 +45528,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -45574,8 +45541,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -45584,12 +45550,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -46024,8 +45990,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -46045,8 +46011,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -46055,12 +46020,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -46498,8 +46463,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -46517,8 +46482,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -46527,12 +46491,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -46966,8 +46930,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -46983,8 +46947,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -46993,12 +46956,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -47434,8 +47397,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -47455,8 +47418,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -47465,12 +47427,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -47911,8 +47873,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -47932,8 +47894,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -47942,12 +47903,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -48390,8 +48351,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -48407,8 +48368,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -48417,12 +48377,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -48859,8 +48819,8 @@ DROP TABLE t1; # 3.4 ALTER ... OPTIMIZE PARTITION part_1,part_1,part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -48872,8 +48832,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -48882,12 +48841,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -49319,8 +49278,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -49332,8 +49291,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -49342,12 +49300,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -49782,8 +49740,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -49803,8 +49761,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -49813,12 +49770,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -50256,8 +50213,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -50275,8 +50232,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -50285,12 +50241,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -50724,8 +50680,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -50741,8 +50697,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -50751,12 +50706,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -51192,8 +51147,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -51213,8 +51168,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -51223,12 +51177,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -51669,8 +51623,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -51690,8 +51644,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -51700,12 +51653,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -52148,8 +52101,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -52165,8 +52118,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 OPTIMIZE PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 optimize Error Error in list of partitions to test.t1 -test.t1 optimize status Operation failed +test.t1 optimize error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -52175,12 +52127,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -52617,8 +52569,8 @@ DROP TABLE t1; # 3.5 ALTER ... OPTIMIZE PARTITION ALL; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -52640,12 +52592,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -53077,8 +53029,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -53100,12 +53052,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -53540,8 +53492,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -53571,12 +53523,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -54014,8 +53966,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -54043,12 +53995,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -54482,8 +54434,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -54509,12 +54461,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -54950,8 +54902,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -54981,12 +54933,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -55427,8 +55379,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -55458,12 +55410,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -55906,8 +55858,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -55933,12 +55885,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -56378,8 +56330,8 @@ DROP TABLE t1; # 4.1 ALTER ... REBUILD PARTITION part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -56398,12 +56350,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -56835,8 +56787,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -56855,12 +56807,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -57295,8 +57247,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -57323,12 +57275,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -57766,8 +57718,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -57792,12 +57744,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -58231,8 +58183,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -58255,12 +58207,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -58696,8 +58648,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -58724,12 +58676,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -59170,8 +59122,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -59198,12 +59150,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -59646,8 +59598,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -59670,12 +59622,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -60112,8 +60064,8 @@ DROP TABLE t1; # 4.2 ALTER ... REBUILD PARTITION part_1,part_2; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -60132,12 +60084,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -60569,8 +60521,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -60589,12 +60541,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -61029,8 +60981,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -61057,12 +61009,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -61500,8 +61452,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -61526,12 +61478,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -61965,8 +61917,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -61989,12 +61941,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -62430,8 +62382,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -62458,12 +62410,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -62904,8 +62856,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -62932,12 +62884,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -63380,8 +63332,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63404,12 +63356,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -63846,8 +63798,8 @@ DROP TABLE t1; # 4.3 ALTER ... REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63861,8 +63813,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63876,8 +63828,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63899,8 +63851,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63920,8 +63872,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63939,8 +63891,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63962,8 +63914,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -63985,8 +63937,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_2,part_5,part_6,part_10; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64006,8 +63958,8 @@ DROP TABLE t1; # 4.4 ALTER ... REBUILD PARTITION part_1,part_1,part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64021,8 +63973,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64036,8 +63988,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64059,8 +64011,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64080,8 +64032,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64099,8 +64051,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64122,8 +64074,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64145,8 +64097,8 @@ ALTER TABLE t1 REBUILD PARTITION part_1,part_1,part_1; ERROR HY000: Error in list of partitions to REBUILD DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64166,8 +64118,8 @@ DROP TABLE t1; # 4.5 ALTER ... REBUILD PARTITION ALL; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64186,12 +64138,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -64623,8 +64575,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -64643,12 +64595,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -65083,8 +65035,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -65111,12 +65063,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -65554,8 +65506,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -65580,12 +65532,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -66019,8 +65971,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -66043,12 +65995,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -66484,8 +66436,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -66512,12 +66464,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -66958,8 +66910,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -66986,12 +66938,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -67434,8 +67386,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -67458,12 +67410,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -67903,8 +67855,8 @@ DROP TABLE t1; # 5.1 ALTER ... REPAIR PARTITION part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -67925,12 +67877,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -68362,8 +68314,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -68384,12 +68336,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -68824,8 +68776,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -68854,12 +68806,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -69297,8 +69249,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -69325,12 +69277,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -69764,8 +69716,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -69790,12 +69742,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -70231,8 +70183,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -70261,12 +70213,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -70707,8 +70659,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -70737,12 +70689,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -71185,8 +71137,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -71211,12 +71163,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -71653,8 +71605,8 @@ DROP TABLE t1; # 5.2 ALTER ... REPAIR PARTITION part_1,part_2; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -71675,12 +71627,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -72112,8 +72064,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -72134,12 +72086,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -72574,8 +72526,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -72604,12 +72556,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -73047,8 +72999,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -73075,12 +73027,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -73514,8 +73466,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -73540,12 +73492,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -73981,8 +73933,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -74011,12 +73963,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -74457,8 +74409,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -74487,12 +74439,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -74935,8 +74887,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -74961,12 +74913,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -75403,8 +75355,8 @@ DROP TABLE t1; # 5.3 ALTER ... REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -75416,8 +75368,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -75426,12 +75377,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -75863,8 +75814,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -75876,8 +75827,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -75886,12 +75836,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -76326,8 +76276,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -76347,8 +76297,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -76357,12 +76306,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -76800,8 +76749,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -76819,8 +76768,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -76829,12 +76777,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -77268,8 +77216,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -77285,8 +77233,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -77295,12 +77242,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -77736,8 +77683,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -77757,8 +77704,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -77767,12 +77713,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -78213,8 +78159,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -78234,8 +78180,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -78244,12 +78189,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -78692,8 +78637,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -78709,8 +78654,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_2,part_5,part_6,part_10; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -78719,12 +78663,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -79161,8 +79105,8 @@ DROP TABLE t1; # 5.4 ALTER ... REPAIR PARTITION part_1,part_1,part_1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -79174,8 +79118,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -79184,12 +79127,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -79621,8 +79564,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -79634,8 +79577,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -79644,12 +79586,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -80084,8 +80026,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -80105,8 +80047,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -80115,12 +80056,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -80558,8 +80499,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -80577,8 +80518,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -80587,12 +80527,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -81026,8 +80966,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -81043,8 +80983,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -81053,12 +80992,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -81494,8 +81433,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -81515,8 +81454,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -81525,12 +81463,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -81971,8 +81909,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -81992,8 +81930,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -82002,12 +81939,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -82450,8 +82387,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -82467,8 +82404,7 @@ SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN 1 AND @max_row_div2 - 1; ALTER TABLE t1 REPAIR PARTITION part_1,part_1,part_1; Table Op Msg_type Msg_text -test.t1 repair Error Error in list of partitions to test.t1 -test.t1 repair status Operation failed +test.t1 repair error Error in list of partitions to test.t1 INSERT INTO t1(f_int1,f_int2,f_char1,f_char2,f_charbig) SELECT f_int1,f_int2,f_char1,f_char2,f_charbig FROM t0_template WHERE f_int1 BETWEEN @max_row_div2 AND @max_row; @@ -82477,12 +82413,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -82919,8 +82855,8 @@ DROP TABLE t1; # 5.5 ALTER ... REPAIR PARTITION ALL; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -82941,12 +82877,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB) */ @@ -83378,8 +83314,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -83400,12 +83336,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) (PARTITION part_1 ENGINE = TokuDB, PARTITION part_2 ENGINE = TokuDB, @@ -83840,8 +83776,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -83870,12 +83806,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -84313,8 +84249,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -84341,12 +84277,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION part_1 VALUES LESS THAN (5) ENGINE = TokuDB, @@ -84780,8 +84716,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -84806,12 +84742,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -85247,8 +85183,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -85277,12 +85213,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part_1 VALUES LESS THAN (0) @@ -85723,8 +85659,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -85753,12 +85689,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part_1 VALUES IN (0) @@ -86201,8 +86137,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -86227,12 +86163,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -86672,8 +86608,8 @@ DROP TABLE t1; # 6.1 ALTER ... REMOVE PARTITIONING; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -86692,12 +86628,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 @@ -87126,8 +87062,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -87146,12 +87082,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 @@ -87580,8 +87516,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -87608,12 +87544,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 @@ -88042,8 +87978,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -88068,12 +88004,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 @@ -88502,8 +88438,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -88526,12 +88462,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 @@ -88960,8 +88896,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -88988,12 +88924,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 @@ -89422,8 +89358,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -89450,12 +89386,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 @@ -89884,8 +89820,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -89908,12 +89844,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' # check prerequisites-1 success: 1 # check COUNT(*) success: 1 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_basic_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_basic_tokudb.result index 8182dce5625..f3fd6b4012e 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_basic_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_basic_tokudb.result @@ -11,8 +11,8 @@ SELECT @max_row DIV 4 INTO @max_row_div4; SET @max_int_4 = 2147483647; DROP TABLE IF EXISTS t0_template; CREATE TABLE t0_template ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) , @@ -27,8 +27,8 @@ file_list VARBINARY(10000), PRIMARY KEY (state) ) ENGINE = MEMORY; DROP TABLE IF EXISTS t0_aux; -CREATE TABLE t0_aux ( f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +CREATE TABLE t0_aux ( f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) ) @@ -52,8 +52,8 @@ SET @@session.sql_mode= ''; # 1.1 The partitioning function contains one column. DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -67,12 +67,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -507,8 +507,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -522,12 +522,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -962,8 +962,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -985,12 +985,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -1432,8 +1432,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1453,12 +1453,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -1896,8 +1896,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -1915,12 +1915,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -2360,8 +2360,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2383,12 +2383,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -2833,8 +2833,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -2860,12 +2860,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -3312,8 +3312,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3331,12 +3331,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -3777,8 +3777,8 @@ DROP TABLE t1; # 1.2 The partitioning function contains two columns. DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -3792,12 +3792,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -4232,8 +4232,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4247,12 +4247,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -4687,8 +4687,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -4710,12 +4710,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -5157,8 +5157,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5178,12 +5178,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -5621,8 +5621,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -5640,12 +5640,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -6083,8 +6083,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6106,12 +6106,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -6556,8 +6556,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -6579,12 +6579,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -7031,8 +7031,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7050,12 +7050,12 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -7500,8 +7500,8 @@ DROP TABLE t1; # 2.5 PRIMARY KEY + UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -7522,7 +7522,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -7992,8 +7992,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8014,7 +8014,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -8484,8 +8484,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -8514,7 +8514,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -8991,8 +8991,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9019,7 +9019,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -9492,8 +9492,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -9518,7 +9518,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -9993,8 +9993,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10023,7 +10023,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -10503,8 +10503,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -10537,7 +10537,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -11019,8 +11019,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11045,7 +11045,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -11520,8 +11520,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -11542,7 +11542,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -12012,8 +12012,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12034,7 +12034,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -12504,8 +12504,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -12534,7 +12534,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -13011,8 +13011,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13039,7 +13039,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -13512,8 +13512,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -13538,7 +13538,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -14013,8 +14013,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14043,7 +14043,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -14523,8 +14523,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -14557,7 +14557,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -15039,8 +15039,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15065,7 +15065,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -15540,8 +15540,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -15555,14 +15555,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1) PARTITIONS 2 */ @@ -16048,8 +16048,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16063,14 +16063,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1) PARTITIONS 5 */ @@ -16556,8 +16556,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -16579,14 +16579,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -17079,8 +17079,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17100,14 +17100,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -17596,8 +17596,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -17615,14 +17615,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1 DIV 2) SUBPARTITION BY HASH (f_int1) SUBPARTITIONS 2 @@ -18113,8 +18113,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18136,14 +18136,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int1) (PARTITION part1 VALUES LESS THAN (0) @@ -18639,8 +18639,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -18666,14 +18666,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int1 + 1) (PARTITION part1 VALUES IN (0) @@ -19171,8 +19171,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19190,14 +19190,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int1) SUBPARTITIONS 3 @@ -19693,8 +19693,8 @@ DROP TABLE t1; # 3.3 PRIMARY KEY and UNIQUE INDEX consisting of two columns DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -19715,7 +19715,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -20185,8 +20185,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20207,7 +20207,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -20677,8 +20677,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -20707,7 +20707,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -21184,8 +21184,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21212,7 +21212,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -21685,8 +21685,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -21711,7 +21711,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -22184,8 +22184,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22214,7 +22214,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -22694,8 +22694,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -22724,7 +22724,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -23206,8 +23206,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23232,7 +23232,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int2`,`f_int1`), UNIQUE KEY `uidx1` (`f_int1`,`f_int2`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -23707,8 +23707,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -23729,7 +23729,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -24199,8 +24199,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24221,7 +24221,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -24691,8 +24691,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -24721,7 +24721,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -25198,8 +25198,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25226,7 +25226,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -25699,8 +25699,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -25725,7 +25725,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -26198,8 +26198,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26228,7 +26228,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -26708,8 +26708,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -26738,7 +26738,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -27220,8 +27220,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27246,7 +27246,7 @@ t1 CREATE TABLE `t1` ( `f_charbig` varchar(1000) DEFAULT NULL, PRIMARY KEY (`f_int1`,`f_int2`), UNIQUE KEY `uidx1` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 @@ -27721,8 +27721,8 @@ TRUNCATE t1; DROP TABLE t1; DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -27736,14 +27736,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY HASH (f_int1 + f_int2) PARTITIONS 2 */ @@ -28229,8 +28229,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -28244,14 +28244,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY KEY (f_int1,f_int2) PARTITIONS 5 */ @@ -28737,8 +28737,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -28760,14 +28760,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (MOD(f_int1 + f_int2,4)) (PARTITION part_3 VALUES IN (-3) ENGINE = TokuDB, PARTITION part_2 VALUES IN (-2) ENGINE = TokuDB, @@ -29260,8 +29260,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -29281,14 +29281,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE ((f_int1 + f_int2) DIV 2) (PARTITION parta VALUES LESS THAN (0) ENGINE = TokuDB, PARTITION partb VALUES LESS THAN (5) ENGINE = TokuDB, @@ -29777,8 +29777,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -29796,14 +29796,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY HASH (f_int2) SUBPARTITIONS 2 @@ -30292,8 +30292,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -30315,14 +30315,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (f_int1) SUBPARTITION BY KEY (f_int2) (PARTITION part1 VALUES LESS THAN (0) @@ -30818,8 +30818,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -30841,14 +30841,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,3))) SUBPARTITION BY HASH (f_int2 + 1) (PARTITION part1 VALUES IN (0) @@ -31346,8 +31346,8 @@ TRUNCATE t1; # End usability test (inc/partition_check.inc) DROP TABLE t1; CREATE TABLE t1 ( -f_int1 INTEGER DEFAULT 0, -f_int2 INTEGER DEFAULT 0, +f_int1 INTEGER, +f_int2 INTEGER, f_char1 CHAR(20), f_char2 CHAR(20), f_charbig VARCHAR(1000) @@ -31365,14 +31365,14 @@ create_command SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( - `f_int1` int(11) DEFAULT '0', - `f_int2` int(11) DEFAULT '0', + `f_int1` int(11) DEFAULT NULL, + `f_int2` int(11) DEFAULT NULL, `f_char1` char(20) DEFAULT NULL, `f_char2` char(20) DEFAULT NULL, `f_charbig` varchar(1000) DEFAULT NULL, UNIQUE KEY `uidx1` (`f_int1`,`f_int2`), UNIQUE KEY `uidx2` (`f_int2`,`f_int1`) -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (ABS(MOD(f_int1,2))) SUBPARTITION BY KEY (f_int2) SUBPARTITIONS 3 diff --git a/storage/tokudb/mysql-test/tokudb_parts/r/partition_debug_tokudb.result b/storage/tokudb/mysql-test/tokudb_parts/r/partition_debug_tokudb.result index 9155661d6d9..dcc18cd1487 100644 --- a/storage/tokudb/mysql-test/tokudb_parts/r/partition_debug_tokudb.result +++ b/storage/tokudb/mysql-test/tokudb_parts/r/partition_debug_tokudb.result @@ -27,7 +27,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -55,7 +55,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -86,7 +86,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -116,7 +116,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -147,7 +147,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -177,7 +177,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -208,7 +208,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -238,7 +238,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -269,7 +269,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -299,7 +299,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -330,7 +330,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -360,7 +360,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -391,7 +391,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -421,7 +421,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -452,7 +452,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -482,7 +482,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -514,7 +514,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -542,7 +542,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -574,7 +574,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -602,7 +602,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -635,7 +635,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -660,7 +660,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -690,7 +690,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -716,7 +716,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -748,7 +748,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -773,7 +773,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -803,7 +803,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -829,7 +829,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -861,7 +861,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -886,7 +886,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -916,7 +916,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -942,7 +942,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -974,7 +974,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -999,7 +999,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1029,7 +1029,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1055,7 +1055,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1087,7 +1087,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1112,7 +1112,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1142,7 +1142,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1168,7 +1168,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1200,7 +1200,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1225,7 +1225,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1255,7 +1255,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1281,7 +1281,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1313,7 +1313,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1338,7 +1338,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1368,7 +1368,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1394,7 +1394,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1426,7 +1426,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1451,7 +1451,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -1482,7 +1482,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1508,7 +1508,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -1541,7 +1541,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1566,7 +1566,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -1597,7 +1597,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1623,7 +1623,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -1656,7 +1656,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1681,7 +1681,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -1712,7 +1712,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1738,7 +1738,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -1772,7 +1772,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1799,7 +1799,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1830,7 +1830,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1859,7 +1859,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1890,7 +1890,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1919,7 +1919,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1950,7 +1950,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -1979,7 +1979,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2005,7 +2005,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2034,7 +2034,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2060,7 +2060,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2089,7 +2089,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2115,7 +2115,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2142,7 +2142,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2168,7 +2168,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2195,7 +2195,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2221,7 +2221,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2248,7 +2248,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2275,7 +2275,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2299,7 +2299,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2329,7 +2329,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2354,7 +2354,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2386,7 +2386,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2410,7 +2410,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2440,7 +2440,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2465,7 +2465,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2497,7 +2497,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2521,7 +2521,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2551,7 +2551,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2576,7 +2576,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2608,7 +2608,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2632,7 +2632,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2657,7 +2657,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2682,7 +2682,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2709,7 +2709,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2733,7 +2733,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2758,7 +2758,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2783,7 +2783,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2810,7 +2810,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2834,7 +2834,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2859,7 +2859,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2884,7 +2884,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2911,7 +2911,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2935,7 +2935,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -2960,7 +2960,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -2985,7 +2985,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -3012,7 +3012,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3036,7 +3036,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -3061,7 +3061,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3086,7 +3086,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -3113,7 +3113,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3137,7 +3137,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -3162,7 +3162,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3187,7 +3187,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB) */ SELECT * FROM t1; @@ -3216,7 +3216,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3245,7 +3245,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3276,7 +3276,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3307,7 +3307,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3338,7 +3338,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3369,7 +3369,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3400,7 +3400,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3431,7 +3431,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3462,7 +3462,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3493,7 +3493,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3524,7 +3524,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3555,7 +3555,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3586,7 +3586,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3617,7 +3617,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -3649,7 +3649,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3680,7 +3680,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -3712,7 +3712,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3741,7 +3741,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -3773,7 +3773,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3802,7 +3802,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -3834,7 +3834,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3863,7 +3863,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -3895,7 +3895,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3924,7 +3924,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -3958,7 +3958,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -3984,7 +3984,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4014,7 +4014,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4041,7 +4041,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4073,7 +4073,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4099,7 +4099,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4129,7 +4129,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4156,7 +4156,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4188,7 +4188,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4214,7 +4214,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4244,7 +4244,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4271,7 +4271,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4303,7 +4303,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4329,7 +4329,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4359,7 +4359,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4386,7 +4386,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4418,7 +4418,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4444,7 +4444,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4474,7 +4474,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4501,7 +4501,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4533,7 +4533,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4559,7 +4559,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4589,7 +4589,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4616,7 +4616,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4648,7 +4648,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4674,7 +4674,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -4705,7 +4705,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4732,7 +4732,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -4765,7 +4765,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4791,7 +4791,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -4822,7 +4822,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4849,7 +4849,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -4882,7 +4882,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4908,7 +4908,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -4939,7 +4939,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -4966,7 +4966,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -4999,7 +4999,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -5025,7 +5025,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -5056,7 +5056,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -5083,7 +5083,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -5116,7 +5116,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -5142,7 +5142,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -5173,7 +5173,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -5200,7 +5200,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -5233,7 +5233,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -5259,7 +5259,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -5290,7 +5290,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (11,12,13,14,15,16,17,18,19) ENGINE = TokuDB) */ @@ -5317,7 +5317,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (0,1,2,3,4,5,6,7,8,9) ENGINE = TokuDB, PARTITION p10 VALUES IN (10,11,12,13,14,15,16,17,18,19) ENGINE = TokuDB, @@ -5349,7 +5349,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5371,7 +5371,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5404,7 +5404,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5428,7 +5428,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5445,7 +5445,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5467,7 +5467,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5500,7 +5500,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5524,7 +5524,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5541,7 +5541,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5563,7 +5563,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5596,7 +5596,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5620,7 +5620,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5637,7 +5637,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5659,7 +5659,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5692,7 +5692,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5716,7 +5716,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5733,7 +5733,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5755,7 +5755,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5788,7 +5788,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5812,7 +5812,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5829,7 +5829,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5851,7 +5851,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5884,7 +5884,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5908,7 +5908,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5925,7 +5925,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -5947,7 +5947,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -5980,7 +5980,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6004,7 +6004,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6021,7 +6021,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6043,7 +6043,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6076,7 +6076,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6100,7 +6100,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6117,7 +6117,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6139,7 +6139,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6172,7 +6172,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6196,7 +6196,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 1 Original from partition p0 @@ -6213,7 +6213,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6235,7 +6235,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6264,7 +6264,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6288,7 +6288,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6305,7 +6305,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6327,7 +6327,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6356,7 +6356,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6380,7 +6380,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6397,7 +6397,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6419,7 +6419,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6448,7 +6448,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6472,7 +6472,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6489,7 +6489,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6511,7 +6511,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6540,7 +6540,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6564,7 +6564,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6581,7 +6581,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6603,7 +6603,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6632,7 +6632,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6656,7 +6656,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6673,7 +6673,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6695,7 +6695,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6724,7 +6724,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6748,7 +6748,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6765,7 +6765,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6787,7 +6787,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6816,7 +6816,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6840,7 +6840,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6857,7 +6857,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6879,7 +6879,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6908,7 +6908,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -6932,7 +6932,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6949,7 +6949,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 5 Original from table t2 @@ -6971,7 +6971,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -7000,7 +7000,7 @@ Table Create Table t1 CREATE TABLE `t1` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' /*!50100 PARTITION BY RANGE (a) (PARTITION p0 VALUES LESS THAN (10) ENGINE = TokuDB, PARTITION p1 VALUES LESS THAN MAXVALUE ENGINE = TokuDB) */ @@ -7024,7 +7024,7 @@ Table Create Table t2 CREATE TABLE `t2` ( `a` int(11) DEFAULT NULL, `b` varchar(64) DEFAULT NULL -) ENGINE=TokuDB DEFAULT CHARSET=latin1 +) ENGINE=TokuDB DEFAULT CHARSET=latin1 `compression`='tokudb_zlib' SELECT * FROM t2; a b 1 Original from partition p0