~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/r/partition_innodb.result

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
create table t1 (a int) engine=innodb partition by hash(a) ;
14
14
show table status like 't1';
15
15
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
16
 
t1      InnoDB  10      Compact 2       8192    16384   0       0       0       NULL    NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
 
16
t1      InnoDB  10      Compact 2       8192    16384   0       0       <datafree>      NULL    NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
17
17
drop table t1;
18
18
create table t1 (a int)
19
19
engine = innodb
20
20
partition by key (a);
21
21
show table status;
22
22
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
23
 
t1      InnoDB  10      Compact 2       8192    16384   0       0       0       NULL    NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
 
23
t1      InnoDB  10      Compact 2       8192    16384   0       0       <datafree>      NULL    NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
24
24
insert into t1 values (0), (1), (2), (3);
25
25
show table status;
26
26
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
27
 
t1      InnoDB  10      Compact 4       4096    16384   0       0       0       NULL    NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
 
27
t1      InnoDB  10      Compact 4       4096    16384   0       0       <datafree>      NULL    NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
28
28
drop table t1;
29
29
create table t1 (a int auto_increment primary key)
30
30
engine = innodb
31
31
partition by key (a);
32
32
show table status;
33
33
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
34
 
t1      InnoDB  10      Compact 2       8192    16384   0       0       0       1       NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
35
 
insert into t1 values (NULL), (NULL), (NULL), (NULL);
36
 
show table status;
37
 
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
38
 
t1      InnoDB  10      Compact 4       4096    16384   0       0       0       5       NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
39
 
insert into t1 values (NULL), (NULL), (NULL), (NULL);
40
 
show table status;
41
 
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
42
 
t1      InnoDB  10      Compact 8       2048    16384   0       0       0       9       NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
 
34
t1      InnoDB  10      Compact 2       8192    16384   0       0       <datafree>      1       NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
 
35
insert into t1 values (NULL), (NULL), (NULL), (NULL);
 
36
show table status;
 
37
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
 
38
t1      InnoDB  10      Compact 4       4096    16384   0       0       <datafree>      5       NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
 
39
insert into t1 values (NULL), (NULL), (NULL), (NULL);
 
40
show table status;
 
41
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
 
42
t1      InnoDB  10      Compact 8       2048    16384   0       0       <datafree>      9       NULL    NULL    NULL    latin1_swedish_ci       NULL    partitioned     
43
43
drop table t1;
44
44
create table t1 (a int)
45
45
partition by key (a)