mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/gluh/MySQL/Bugs/4.1.6008
This commit is contained in:
@ -1674,3 +1674,14 @@ select * from t1;
|
||||
a
|
||||
42
|
||||
drop table t1;
|
||||
create table t1 (a int not null, b int not null, c blob not null, d int not null, e int, primary key (a,b,c(255),d)) engine=innodb;
|
||||
insert into t1 values (2,2,"b",2,2),(1,1,"a",1,1),(3,3,"ab",3,3);
|
||||
select * from t1 order by a,b,c,d;
|
||||
a b c d e
|
||||
1 1 a 1 1
|
||||
2 2 b 2 2
|
||||
3 3 ab 3 3
|
||||
explain select * from t1 order by a,b,c,d;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using filesort
|
||||
drop table t1;
|
||||
|
@ -1220,4 +1220,14 @@ insert into t1 values (42);
|
||||
select * from t1;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Bug #13025 Server crash during filesort
|
||||
#
|
||||
|
||||
create table t1 (a int not null, b int not null, c blob not null, d int not null, e int, primary key (a,b,c(255),d)) engine=innodb;
|
||||
insert into t1 values (2,2,"b",2,2),(1,1,"a",1,1),(3,3,"ab",3,3);
|
||||
select * from t1 order by a,b,c,d;
|
||||
explain select * from t1 order by a,b,c,d;
|
||||
drop table t1;
|
||||
|
||||
# End of 4.1 tests
|
||||
|
Reference in New Issue
Block a user