summaryrefslogtreecommitdiff
path: root/mysql-test/include/ps_query.inc
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-10-07 12:36:37 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-10-07 12:36:37 +0000
commit9acec233d3f6234099582cbaa6204ae401c06cc2 (patch)
tree940ea840e3cb8498ccb721c6e3ccf8394d0c53d9 /mysql-test/include/ps_query.inc
parent0129f32bfcec1e0e283699d4dee7429d33906a79 (diff)
downloadmariadb-git-9acec233d3f6234099582cbaa6204ae401c06cc2.tar.gz
more order by fixes
Diffstat (limited to 'mysql-test/include/ps_query.inc')
-rw-r--r--mysql-test/include/ps_query.inc10
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 ? ';