diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result index a4dd5f9a64e..b62660c7024 100644 --- a/mysql-test/r/partition.result +++ b/mysql-test/r/partition.result @@ -643,11 +643,6 @@ partition by list (a) alter table t1 rebuild partition; ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 drop table t1; -create table t1 (a int) engine=innodb partition by hash(a) ; -show table status like 't1'; -Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment -t1 InnoDB 10 Compact 2 8192 16384 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL partitioned -drop table t1; create table t2 (s1 int not null auto_increment, primary key (s1)) partition by list (s1) (partition p1 values in (1),partition p2 values in (2),partition p3 values in (3),partition p4 values in (4)); insert into t2 values (null),(null),(null); select * from t2; diff --git a/mysql-test/r/partition_innodb.result b/mysql-test/r/partition_innodb.result new file mode 100644 index 00000000000..f4e75ccdb05 --- /dev/null +++ b/mysql-test/r/partition_innodb.result @@ -0,0 +1,5 @@ +create table t1 (a int) engine=innodb partition by hash(a) ; +show table status like 't1'; +Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment +t1 InnoDB 10 Compact 2 8192 16384 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL partitioned +drop table t1; diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 1a64537b6fc..1bda625dcbd 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -756,13 +756,6 @@ alter table t1 rebuild partition; drop table t1; -# -# Bug #14673: Wrong InnoDB default row format -# -create table t1 (a int) engine=innodb partition by hash(a) ; -show table status like 't1'; -drop table t1; - # # Bug #14526: Partitions: indexed searches fail # diff --git a/mysql-test/t/partition_innodb.test b/mysql-test/t/partition_innodb.test new file mode 100644 index 00000000000..84c74855fbb --- /dev/null +++ b/mysql-test/t/partition_innodb.test @@ -0,0 +1,9 @@ +--source include/have_innodb.inc + +# +# Bug #14673: Wrong InnoDB default row format +# +create table t1 (a int) engine=innodb partition by hash(a) ; +show table status like 't1'; +drop table t1; +