summaryrefslogtreecommitdiff
path: root/mysql-test/r/endspace.result
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-08-17 14:54:29 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-08-17 14:54:29 +0300
commit026d301f960e2413d615799d76a1f59552a5f1d8 (patch)
tree9b6b089935a5fee1e940e36d26294bd3658c7f3a /mysql-test/r/endspace.result
parentb17b122b7daa2f6fbc04ab7a32269d6f2d22cbfe (diff)
downloadmariadb-git-026d301f960e2413d615799d76a1f59552a5f1d8.tar.gz
Make main.endspace more deterministic
Followup to vasil.dimov@oracle.com-20100817063430-inglmzgdtj95t29d which didn't fully fix the test because the order of the returned rows was different in embedded and non-embedded version. So the only way to fix this is to add an ORDER BY clause.
Diffstat (limited to 'mysql-test/r/endspace.result')
-rw-r--r--mysql-test/r/endspace.result14
1 files changed, 7 insertions, 7 deletions
diff --git a/mysql-test/r/endspace.result b/mysql-test/r/endspace.result
index 25e2238e7bb..4eca88774b4 100644
--- a/mysql-test/r/endspace.result
+++ b/mysql-test/r/endspace.result
@@ -54,8 +54,8 @@ text1 like 'teststring_%' ORDER BY text1;
text1
teststring
teststring
-select concat('|', text1, '|') from t1 where text1='teststring' or text1 like 'teststring_%';
-concat('|', text1, '|')
+select concat('|', text1, '|') as c from t1 where text1='teststring' or text1 like 'teststring_%' order by c;
+c
|teststring |
|teststring|
select concat('|', text1, '|') from t1 where text1='teststring' or text1 > 'teststring\t';
@@ -105,11 +105,11 @@ select concat('|', text1, '|') from t1 where text1 like 'teststring_%';
concat('|', text1, '|')
|teststring |
|teststring |
-select concat('|', text1, '|') from t1 where text1='teststring' or text1 like 'teststring_%';
-concat('|', text1, '|')
-|teststring|
+select concat('|', text1, '|') as c from t1 where text1='teststring' or text1 like 'teststring_%' order by c;
+c
|teststring |
|teststring |
+|teststring|
select concat('|', text1, '|') from t1 where text1='teststring' or text1 > 'teststring\t';
concat('|', text1, '|')
|teststring|
@@ -123,8 +123,8 @@ concat('|', text1, '|')
drop table t1;
create table t1 (text1 varchar(32) not NULL, KEY key1 (text1)) pack_keys=0;
insert into t1 values ('teststring'), ('nothing'), ('teststring\t');
-select concat('|', text1, '|') from t1 where text1='teststring' or text1 like 'teststring_%';
-concat('|', text1, '|')
+select concat('|', text1, '|') as c from t1 where text1='teststring' or text1 like 'teststring_%' order by c;
+c
|teststring |
|teststring|
select concat('|', text1, '|') from t1 where text1='teststring' or text1 >= 'teststring\t';