mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Moving test that requires innodb to partition_innodb
mysql-test/r/partition_innodb.result: New BitKeeper file ``mysql-test/r/partition_innodb.result'' mysql-test/t/partition_innodb.test: New BitKeeper file ``mysql-test/t/partition_innodb.test''
This commit is contained in:
@ -643,11 +643,6 @@ partition by list (a)
|
|||||||
alter table t1 rebuild partition;
|
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
|
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;
|
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));
|
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);
|
insert into t2 values (null),(null),(null);
|
||||||
select * from t2;
|
select * from t2;
|
||||||
|
5
mysql-test/r/partition_innodb.result
Normal file
5
mysql-test/r/partition_innodb.result
Normal file
@ -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;
|
@ -756,13 +756,6 @@ alter table t1 rebuild partition;
|
|||||||
|
|
||||||
drop table t1;
|
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
|
# Bug #14526: Partitions: indexed searches fail
|
||||||
#
|
#
|
||||||
|
9
mysql-test/t/partition_innodb.test
Normal file
9
mysql-test/t/partition_innodb.test
Normal file
@ -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;
|
||||||
|
|
Reference in New Issue
Block a user