Commit 15fd2b4f authored by Vasil Dimov's avatar Vasil Dimov

Adjust endspace.result

This is a followup to vasil.dimov@oracle.com-20100816142329-yimenbuktd416z1a
which improved the sampling algorithm. The endspace test is non-deterministic
because it does not include ORDER BY clause in its queries.
parent 260ff5be
...@@ -107,8 +107,8 @@ concat('|', text1, '|') ...@@ -107,8 +107,8 @@ concat('|', text1, '|')
|teststring | |teststring |
select concat('|', text1, '|') from t1 where text1='teststring' or text1 like 'teststring_%'; select concat('|', text1, '|') from t1 where text1='teststring' or text1 like 'teststring_%';
concat('|', text1, '|') concat('|', text1, '|')
|teststring |
|teststring| |teststring|
|teststring |
|teststring | |teststring |
select concat('|', text1, '|') from t1 where text1='teststring' or text1 > 'teststring\t'; select concat('|', text1, '|') from t1 where text1='teststring' or text1 > 'teststring\t';
concat('|', text1, '|') concat('|', text1, '|')
...@@ -203,13 +203,13 @@ teststring ...@@ -203,13 +203,13 @@ teststring
teststring teststring
select text1, length(text1) from t1 where text1='teststring' or text1 like 'teststring_%'; select text1, length(text1) from t1 where text1='teststring' or text1 like 'teststring_%';
text1 length(text1) text1 length(text1)
teststring 11
teststring 10 teststring 10
teststring 11
teststring 11 teststring 11
select text1, length(text1) from t1 where text1='teststring' or text1 >= 'teststring\t'; select text1, length(text1) from t1 where text1='teststring' or text1 >= 'teststring\t';
text1 length(text1) text1 length(text1)
teststring 11
teststring 10 teststring 10
teststring 11
teststring 11 teststring 11
select concat('|', text1, '|') from t1 order by text1; select concat('|', text1, '|') from t1 order by text1;
concat('|', text1, '|') concat('|', text1, '|')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment