- Notifications
You must be signed in to change notification settings - Fork5
Commit71f8127
committed
Done:
> * -Allow ORDER BY ... LIMIT # to select high/low value without sort or<< Right now, if no index exists, ORDER BY ... LIMIT # requires we sort< all values to return the high/low value. Instead The idea is to do a< sequential scan to find the high/low value, thus avoiding the sort.< MIN/MAX already does this, but not for LIMIT > 1.<1 parentd2a4a40 commit71f8127
2 files changed
+4
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
1364 | | - | |
| 1364 | + | |
1365 | 1365 | | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | 1366 | | |
1373 | 1367 | | |
1374 | 1368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1210 | 1210 | | |
1211 | 1211 | | |
1212 | 1212 | | |
1213 | | - | |
| 1213 | + | |
1214 | 1214 | | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
1218 | | - | |
1219 | | - | |
1220 | 1215 | | |
1221 | 1216 | | |
1222 | 1217 | | |
| |||
0 commit comments
Comments
(0)