summaryrefslogtreecommitdiff
path: root/mysql-test/main/order_fill_sortbuf.result
blob: 6a0bd9d966b54d0c6f7d239caffb06deee7c591c (plain)
1
2
3
4
5
6
7
8
9
10
11
drop table if exists t1,t2;
set @@sort_buffer_size=32804;
CREATE TABLE `t1` (
`id` int(11) NOT NULL default '0',
`id2` int(11) NOT NULL default '0',
`id3` int(11) NOT NULL default '0');
create table t2 select id2 from t1 order by id3;
select count(*) from t2;
count(*)
4000
drop table t1,t2;