Commit 775ac38d authored by Sergey Petrunya's avatar Sergey Petrunya

Buildbot fixes: add --sorted-result

parent 265b51df
...@@ -704,21 +704,21 @@ FROM it1 LEFT JOIN it2 ON it2.datetime_key); ...@@ -704,21 +704,21 @@ FROM it1 LEFT JOIN it2 ON it2.datetime_key);
int_key int_key
0 0
0 0
2
0 0
3
0 0
7
0 0
0
2
2
3
5
5
7
7 7
7 7
8
9 9
2
9 9
5
0
8
5
EXPLAIN EXPLAIN
SELECT int_key FROM ot1 SELECT int_key FROM ot1
WHERE int_nokey IN (SELECT it2.int_key WHERE int_nokey IN (SELECT it2.int_key
......
...@@ -714,22 +714,22 @@ WHERE int_nokey IN (SELECT it2.int_key ...@@ -714,22 +714,22 @@ WHERE int_nokey IN (SELECT it2.int_key
FROM it1 LEFT JOIN it2 ON it2.datetime_key); FROM it1 LEFT JOIN it2 ON it2.datetime_key);
int_key int_key
0 0
5
9
9
7
2
8
0 0
2
0 0
0 0
0 0
0 0
2
2
3
5
5 5
7 7
7 7
3 7
8
9
9
EXPLAIN EXPLAIN
SELECT int_key FROM ot1 SELECT int_key FROM ot1
WHERE int_nokey IN (SELECT it2.int_key WHERE int_nokey IN (SELECT it2.int_key
......
...@@ -649,6 +649,7 @@ CREATE TABLE it1 ( ...@@ -649,6 +649,7 @@ CREATE TABLE it1 (
); );
INSERT INTO it1 VALUES INSERT INTO it1 VALUES
(9,5), (0,4); (9,5), (0,4);
--sorted_result
SELECT int_key FROM ot1 SELECT int_key FROM ot1
WHERE int_nokey IN (SELECT it2.int_key WHERE int_nokey IN (SELECT it2.int_key
FROM it1 LEFT JOIN it2 ON it2.datetime_key); FROM it1 LEFT JOIN it2 ON it2.datetime_key);
......
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