projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bca2822
)
make output of 'select' test suite stable by adding ORDER BY
author
Tomas Vondra
<
[email protected]
>
Thu, 19 Jan 2017 21:04:06 +0000
(22:04 +0100)
committer
Tomas Vondra
<
[email protected]
>
Thu, 19 Jan 2017 21:04:06 +0000
(22:04 +0100)
In XL the order of rows may change depending on timing of responses
from remote nodes, unless the query has an explicit ORDER BY (on
PostgreSQL the regression tests often rely on reading the data from
disk in a single process).
src/test/regress/expected/select.out
patch
|
blob
|
blame
|
history
diff --git
a/src/test/regress/expected/select.out
b/src/test/regress/expected/select.out
index 0eb8a2798cb4e8245e5642c3ca22b9ce85aed79a..d679fb3fe42f73719b78486878efb964c9bf450f 100644
(file)
--- a/
src/test/regress/expected/select.out
+++ b/
src/test/regress/expected/select.out
@@
-955,7
+955,7
@@
select * from (values (2),(null),(1)) v(k) where k = k order by k;
2
(2 rows)
-select * from (values (2),(null),(1)) v(k) where k = k;
+select * from (values (2),(null),(1)) v(k) where k = k
order by k desc
;
k
---
2