forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite3e84fd
committed
Further improvements toc8f621c.
Coverity and inspection for the issue addressed infd45d16 found somequestionable code.Specifically coverity noticed that the wrong length was added inReorderBufferSerializeChange() - without immediate negative consequencesas the variable isn't used afterwards. During code-review and testing Inoticed that a bit of space was wasted when allocating tuple bufs inseveral places. Thirdly, the debug memset()s inReorderBufferGetTupleBuf() reduce the error checking valgrind can do.Backpatch: 9.4, likec8f621c.1 parent89f8372 commite3e84fd
2 files changed
+18
-9
lines changedLines changed: 15 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
625 | 625 |
| |
626 | 626 |
| |
627 | 627 |
| |
628 |
| - | |
| 628 | + | |
| 629 | + | |
629 | 630 |
| |
630 | 631 |
| |
631 | 632 |
| |
632 | 633 |
| |
633 | 634 |
| |
634 | 635 |
| |
635 | 636 |
| |
636 |
| - | |
| 637 | + | |
637 | 638 |
| |
638 | 639 |
| |
639 | 640 |
| |
| |||
670 | 671 |
| |
671 | 672 |
| |
672 | 673 |
| |
| 674 | + | |
673 | 675 |
| |
674 | 676 |
| |
675 | 677 |
| |
| |||
678 | 680 |
| |
679 | 681 |
| |
680 | 682 |
| |
681 |
| - | |
| 683 | + | |
| 684 | + | |
682 | 685 |
| |
683 | 686 |
| |
684 | 687 |
| |
685 | 688 |
| |
686 |
| - | |
| 689 | + | |
687 | 690 |
| |
688 | 691 |
| |
689 | 692 |
| |
| |||
692 | 695 |
| |
693 | 696 |
| |
694 | 697 |
| |
| 698 | + | |
695 | 699 |
| |
696 | 700 |
| |
697 | 701 |
| |
698 | 702 |
| |
699 | 703 |
| |
700 | 704 |
| |
701 |
| - | |
| 705 | + | |
| 706 | + | |
702 | 707 |
| |
703 | 708 |
| |
704 | 709 |
| |
705 | 710 |
| |
706 |
| - | |
| 711 | + | |
707 | 712 |
| |
708 | 713 |
| |
709 | 714 |
| |
| |||
741 | 746 |
| |
742 | 747 |
| |
743 | 748 |
| |
744 |
| - | |
| 749 | + | |
| 750 | + | |
745 | 751 |
| |
746 | 752 |
| |
747 | 753 |
| |
748 | 754 |
| |
749 |
| - | |
| 755 | + | |
750 | 756 |
| |
751 | 757 |
| |
752 |
| - | |
| 758 | + | |
753 | 759 |
| |
754 | 760 |
| |
755 | 761 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
469 | 469 |
| |
470 | 470 |
| |
471 | 471 |
| |
| 472 | + | |
472 | 473 |
| |
473 | 474 |
| |
| 475 | + | |
474 | 476 |
| |
475 | 477 |
| |
476 | 478 |
| |
477 | 479 |
| |
| 480 | + | |
478 | 481 |
| |
479 | 482 |
| |
480 | 483 |
| |
|
0 commit comments
Comments
(0)