- Notifications
You must be signed in to change notification settings - Fork5
Commit008c413
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 parentaf57438 commit008c413
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1443 | 1443 |
| |
1444 | 1444 |
| |
1445 | 1445 |
| |
1446 |
| - | |
| 1446 | + | |
1447 | 1447 |
| |
1448 | 1448 |
| |
1449 | 1449 |
| |
| |||
4271 | 4271 |
| |
4272 | 4272 |
| |
4273 | 4273 |
| |
4274 |
| - | |
| 4274 | + | |
4275 | 4275 |
| |
4276 | 4276 |
| |
4277 | 4277 |
| |
| |||
4588 | 4588 |
| |
4589 | 4589 |
| |
4590 | 4590 |
| |
4591 |
| - | |
| 4591 | + | |
4592 | 4592 |
| |
4593 | 4593 |
| |
4594 | 4594 |
| |
|
0 commit comments
Comments
(0)