summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-09-15 14:25:58 +0400
committerunknown <konstantin@mysql.com>2004-09-15 14:25:58 +0400
commit3db7442e2855186ba87edf4c33b76b5883ee7ba6 (patch)
tree728fc8bb287d559b692311422925c80355c8b286 /mysql-test/include
parentb87892265caf1c88e898eebc3c2f27ad086f6359 (diff)
downloadmariadb-git-3db7442e2855186ba87edf4c33b76b5883ee7ba6.tar.gz
Fix the test case to make it more predictable (cause: 4.1.5 test failure
on intelxeon3 (Solaris x86)) mysql-test/r/ps_2myisam.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_3innodb.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_4heap.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_5merge.result: Test results fixed (order by for a couple of statements in the PS test). mysql-test/r/ps_6bdb.result: Test results fixed (order by for a couple of statements in the PS test).
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/ps_query.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/include/ps_query.inc b/mysql-test/include/ps_query.inc
index bc5d3eb6ed1..9c80c7a040c 100644
--- a/mysql-test/include/ps_query.inc
+++ b/mysql-test/include/ps_query.inc
@@ -294,9 +294,11 @@ set @arg00='ABC';
set @arg01='two';
set @arg02='one';
select first.a, @arg00, second.a FROM t1 first, t1 second
-where @arg01 = first.b or first.a = second.a or second.b = @arg02;
+where @arg01 = first.b or first.a = second.a or second.b = @arg02
+order by second.a, first.a;
prepare stmt1 from ' select first.a, ?, second.a FROM t1 first, t1 second
- where ? = first.b or first.a = second.a or second.b = ? ';
+ where ? = first.b or first.a = second.a or second.b = ?
+ order by second.a, first.a';
execute stmt1 using @arg00, @arg01, @arg02;