- Notifications
You must be signed in to change notification settings - Fork5
Commit07fca60
committed
Fix bug in GIN posting tree root creation.
The root page is filled with as many items as fit, and the rest are insertedusing normal insertions. However, I fumbled the variable names, and the codeactually memcpy'd all the items on the page, overflowing the buffer. Whileat it, rename the variable to make the distinction more clear.Reported by Teodor Sigaev. This bug was introduced by my recentrefactorings, so no backpatching required.1 parentaa04b32 commit07fca60
1 file changed
+9
-9
lines changedLines changed: 9 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
623 | 623 |
| |
624 | 624 |
| |
625 | 625 |
| |
626 |
| - | |
| 626 | + | |
627 | 627 |
| |
628 | 628 |
| |
629 |
| - | |
| 629 | + | |
630 | 630 |
| |
631 | 631 |
| |
632 | 632 |
| |
| |||
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
641 |
| - | |
642 |
| - | |
| 641 | + | |
| 642 | + | |
643 | 643 |
| |
644 | 644 |
| |
645 | 645 |
| |
| |||
651 | 651 |
| |
652 | 652 |
| |
653 | 653 |
| |
654 |
| - | |
| 654 | + | |
655 | 655 |
| |
656 | 656 |
| |
657 | 657 |
| |
| |||
660 | 660 |
| |
661 | 661 |
| |
662 | 662 |
| |
663 |
| - | |
| 663 | + | |
664 | 664 |
| |
665 | 665 |
| |
666 | 666 |
| |
| |||
678 | 678 |
| |
679 | 679 |
| |
680 | 680 |
| |
681 |
| - | |
| 681 | + | |
682 | 682 |
| |
683 | 683 |
| |
684 | 684 |
| |
685 | 685 |
| |
686 | 686 |
| |
687 | 687 |
| |
688 | 688 |
| |
689 |
| - | |
690 |
| - | |
| 689 | + | |
| 690 | + | |
691 | 691 |
| |
692 | 692 |
| |
693 | 693 |
| |
|
0 commit comments
Comments
(0)