diff options
author | unknown <serg@serg.mylan> | 2004-11-27 12:37:03 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2004-11-27 12:37:03 +0100 |
commit | 87347253cee1e7bad8c918988a15e70ee6e25715 (patch) | |
tree | ac764cfed9bad42778723fea831db046fc083d4e /mysql-test/t | |
parent | 24ad655ab5469b4fa7f9b5ee2bcd69ca6fb47f70 (diff) | |
parent | 368cde22ac949bf4380cb012af59149a6dded2d1 (diff) | |
download | mariadb-git-87347253cee1e7bad8c918988a15e70ee6e25715.tar.gz |
Merge bk-internal:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
sql/sql_parse.cc:
Auto merged
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/order_by.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/order_by.test b/mysql-test/t/order_by.test index 988c106bf21..dd36cd95969 100644 --- a/mysql-test/t/order_by.test +++ b/mysql-test/t/order_by.test @@ -500,3 +500,9 @@ insert into t1 set a = concat(repeat('x', 19), 'aa'); set max_sort_length=20; select a from t1 order by a; drop table t1; + +create table t1 (a int not null, b int not null, c int not null); +insert t1 values (1,1,1),(1,1,2),(1,2,1); +select a, b from t1 group by a, b order by sum(c); +drop table t1; + |