mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
code cleanup
This commit is contained in:
@@ -1219,6 +1219,7 @@ parent child
|
||||
1 2
|
||||
1 3
|
||||
2 1
|
||||
drop table t1;
|
||||
create table t1 (a int not null auto_increment primary key, b int, c int, key(c)) type=innodb;
|
||||
create table t2 (a int not null auto_increment primary key, b int);
|
||||
insert into t1 (b) values (null),(null),(null),(null),(null),(null),(null);
|
||||
|
||||
@@ -809,7 +809,7 @@ drop table t1,t2;
|
||||
create table t1 ( pk int primary key, parent int not null, child int not null, index (parent) ) type = innodb;
|
||||
insert into t1 values (1,0,4), (2,1,3), (3,2,1), (4,1,2);
|
||||
select distinct parent,child from t1 order by parent;
|
||||
drop table t1,t2;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Test that MySQL priorities clustered indexes
|
||||
|
||||
Reference in New Issue
Block a user