diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2004-10-07 12:36:37 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2004-10-07 12:36:37 +0000 |
commit | ead6833469f13751bb3f7488382eb02b06a8fe96 (patch) | |
tree | 940ea840e3cb8498ccb721c6e3ccf8394d0c53d9 /mysql-test/include | |
parent | d96fbe284be699ceae370b96d354bbff00f34a90 (diff) | |
download | mariadb-git-ead6833469f13751bb3f7488382eb02b06a8fe96.tar.gz |
more order by fixes
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/ps_query.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mysql-test/include/ps_query.inc b/mysql-test/include/ps_query.inc index 27ab85410c8..e807e897161 100644 --- a/mysql-test/include/ps_query.inc +++ b/mysql-test/include/ps_query.inc @@ -115,15 +115,15 @@ execute stmt1 using @arg00; # variations on 'group_concat' set @arg00='MySQL' ; -select group_concat(@arg00,b) from t1 +select group_concat(@arg00,b order by a) from t1 group by 'a' ; -prepare stmt1 from ' select group_concat(?,b) from t1 +prepare stmt1 from ' select group_concat(?,b order by a) from t1 group by ''a'' ' ; execute stmt1 using @arg00; # -select group_concat(b,@arg00) from t1 +select group_concat(b,@arg00 order by a) from t1 group by 'a' ; -prepare stmt1 from ' select group_concat(b,?) from t1 +prepare stmt1 from ' select group_concat(b,? order by a) from t1 group by ''a'' ' ; execute stmt1 using @arg00; @@ -223,7 +223,7 @@ execute stmt1 using @arg00, @arg01; set @arg00= 'one' ; set @arg01= 'two' ; set @arg02= 'five' ; -prepare stmt1 from ' select b FROM t1 where b in (?,?,?) ' ; +prepare stmt1 from ' select b FROM t1 where b in (?,?,?) order by b ' ; execute stmt1 using @arg00, @arg01, @arg02 ; # parameter in LIKE prepare stmt1 from ' select b FROM t1 where b like ? '; |