689
689
# Bug #14920 Ordering aggregated result sets with composite primary keys
692
create TEMPORARY table t1 (c1 int not null,c2 int not null, primary key(c1,c2)) ENGINE=MYISAM;
692
create table t1 (c1 int not null,c2 int not null, primary key(c1,c2)) ENGINE=MYISAM;
693
693
insert into t1 (c1,c2) values
694
694
(10,1),(10,2),(10,3),(20,4),(20,5),(20,6),(30,7),(30,8),(30,9);
695
695
select distinct c1, c2 from t1 order by c2;