- Notifications
You must be signed in to change notification settings - Fork5
Commitda9659f
committed
Fix possible sorting error when aborting use of abbreviated keys.
Due to an error in the abbreviated key abort logic, the most recentlyprocessed SortTuple could be incorrectly marked NULL, resulting in anincorrect final sort order.In the worst case, this could result in a corrupt btree index, whichwould need to be rebuild using REINDEX. However, abbrevation doesn'tabort very often, not all data types use it, and only one tuple wouldend up in the wrong place, so the practical impact of this mistake maybe somewhat limited.Report and patch by Peter Geoghegan.1 parentac3aac3 commitda9659f
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1314 | 1314 |
| |
1315 | 1315 |
| |
1316 | 1316 |
| |
1317 |
| - | |
| 1317 | + | |
1318 | 1318 |
| |
1319 | 1319 |
| |
1320 | 1320 |
| |
| |||
3440 | 3440 |
| |
3441 | 3441 |
| |
3442 | 3442 |
| |
3443 |
| - | |
| 3443 | + | |
3444 | 3444 |
| |
3445 | 3445 |
| |
3446 | 3446 |
| |
| |||
3744 | 3744 |
| |
3745 | 3745 |
| |
3746 | 3746 |
| |
3747 |
| - | |
| 3747 | + | |
3748 | 3748 |
| |
3749 | 3749 |
| |
3750 | 3750 |
| |
|
0 commit comments
Comments
(0)