- Notifications
You must be signed in to change notification settings - Fork5
Commit250e5bd
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 parent45b87cc commit250e5bd
2 files changed
+23
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
611 | | - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
615 | 616 | | |
616 | | - | |
| 617 | + | |
617 | 618 | | |
618 | 619 | | |
619 | 620 | | |
| |||
634 | 635 | | |
635 | 636 | | |
636 | 637 | | |
637 | | - | |
638 | 638 | | |
639 | 639 | | |
640 | 640 | | |
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
658 | 661 | | |
659 | 662 | | |
| 663 | + | |
| 664 | + | |
660 | 665 | | |
661 | | - | |
| 666 | + | |
662 | 667 | | |
663 | 668 | | |
664 | 669 | | |
665 | 670 | | |
666 | 671 | | |
667 | 672 | | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
668 | 676 | | |
669 | 677 | | |
670 | 678 | | |
| 679 | + | |
671 | 680 | | |
672 | 681 | | |
673 | | - | |
| 682 | + | |
674 | 683 | | |
675 | 684 | | |
676 | 685 | | |
| |||
720 | 729 | | |
721 | 730 | | |
722 | 731 | | |
723 | | - | |
| 732 | + | |
| 733 | + | |
724 | 734 | | |
725 | 735 | | |
726 | 736 | | |
727 | 737 | | |
728 | | - | |
| 738 | + | |
729 | 739 | | |
730 | 740 | | |
731 | | - | |
| 741 | + | |
732 | 742 | | |
733 | 743 | | |
734 | 744 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
| 474 | + | |
474 | 475 | | |
475 | 476 | | |
| 477 | + | |
476 | 478 | | |
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
| 482 | + | |
480 | 483 | | |
481 | 484 | | |
482 | 485 | | |
| |||
2152 | 2155 | | |
2153 | 2156 | | |
2154 | 2157 | | |
2155 | | - | |
| 2158 | + | |
2156 | 2159 | | |
2157 | 2160 | | |
2158 | 2161 | | |
| |||
0 commit comments
Comments
(0)