|
1 | 1 | -- { echoOn } |
2 | 2 |
|
3 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') settings enable_analyzer=0, convert_query_to_cnf=0; |
| 3 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') ORDER BY ALL settings enable_analyzer=0, convert_query_to_cnf=0; |
4 | 4 | v1 1 |
5 | 5 | v1 2 |
6 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') settings enable_analyzer=0, convert_query_to_cnf=0; |
| 6 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') ORDER BY ALL settings enable_analyzer=0, convert_query_to_cnf=0; |
7 | 7 | v1 1 |
8 | 8 | v2 2 |
9 | 9 | select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v3') settings enable_analyzer=0, convert_query_to_cnf=0; |
10 | 10 | v1 1 |
11 | 11 | select _table, key from m where (value = 10 and _table = 'v3') or (value = 20 and _table = 'v3') settings enable_analyzer=0, convert_query_to_cnf=0; |
12 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') settings enable_analyzer=0, convert_query_to_cnf=1; |
| 12 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') ORDER BY ALL settings enable_analyzer=0, convert_query_to_cnf=1; |
13 | 13 | v1 1 |
14 | 14 | v1 2 |
15 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') settings enable_analyzer=0, convert_query_to_cnf=1; |
| 15 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') ORDER BY ALL settings enable_analyzer=0, convert_query_to_cnf=1; |
16 | 16 | v1 1 |
17 | 17 | v2 2 |
18 | 18 | select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v3') settings enable_analyzer=0, convert_query_to_cnf=1; |
19 | 19 | v1 1 |
20 | 20 | select _table, key from m where (value = 10 and _table = 'v3') or (value = 20 and _table = 'v3') settings enable_analyzer=0, convert_query_to_cnf=1; |
21 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') settings enable_analyzer=1, convert_query_to_cnf=0; |
| 21 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') ORDER BY ALL settings enable_analyzer=1, convert_query_to_cnf=0; |
22 | 22 | v1 1 |
23 | 23 | v1 2 |
24 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') settings enable_analyzer=1, convert_query_to_cnf=0; |
| 24 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') ORDER BY ALL settings enable_analyzer=1, convert_query_to_cnf=0; |
25 | 25 | v1 1 |
26 | 26 | v2 2 |
27 | 27 | select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v3') settings enable_analyzer=1, convert_query_to_cnf=0; |
28 | 28 | v1 1 |
29 | 29 | select _table, key from m where (value = 10 and _table = 'v3') or (value = 20 and _table = 'v3') settings enable_analyzer=1, convert_query_to_cnf=0; |
30 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') settings enable_analyzer=1, convert_query_to_cnf=1; |
| 30 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v1') ORDER BY ALL settings enable_analyzer=1, convert_query_to_cnf=1; |
31 | 31 | v1 1 |
32 | 32 | v1 2 |
33 | | -select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') settings enable_analyzer=1, convert_query_to_cnf=1; |
| 33 | +select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v2') ORDER BY ALL settings enable_analyzer=1, convert_query_to_cnf=1; |
34 | 34 | v1 1 |
35 | 35 | v2 2 |
36 | 36 | select _table, key from m where (value = 10 and _table = 'v1') or (value = 20 and _table = 'v3') settings enable_analyzer=1, convert_query_to_cnf=1; |
|
0 commit comments