- Notifications
You must be signed in to change notification settings - Fork5
Commit6a4fe11
committed
Fix more hash index bugs around marking buffers dirty.
In _hash_freeovflpage(), if we're freeing the overflow page thatimmediate follows the page to which tuples are being moved (theconfusingly-named "write buffer"), don't forget to mark thatpage dirty after updating its hasho_nextblkno.In _hash_squeezebucket(), it's not necessary to mark the primarybucket page dirty if there are no overflow pages, because there'snothing to squeeze in that case.Amit Kapila, with help from Kuntal Ghosh and Dilip Kumar, afteran initial trouble report by Jeff Janes.1 parent25216c9 commit6a4fe11
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
452 | 452 |
| |
453 | 453 |
| |
454 | 454 |
| |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
455 | 460 |
| |
456 | 461 |
| |
457 | 462 |
| |
| |||
643 | 648 |
| |
644 | 649 |
| |
645 | 650 |
| |
646 |
| - | |
| 651 | + | |
647 | 652 |
| |
648 | 653 |
| |
649 | 654 |
| |
|
0 commit comments
Comments
(0)