forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc080b22
committed
Fix minor oversights in nodeAgg.c.
aggstate->evalproj is always set up by ExecInitAgg, so there's noneed to test. Doing so led Coverity to think that we might beintending "slot" to be possibly NULL here, and it quite properlycomplained that the rest of combine_aggregates() wasn't preparedfor that.Also fix a couple of obvious thinkos in Asserts checking that"inputoff" isn't past the end of the slot.Errors introduced in commit8ed3f11, so no need for back-patch.1 parent7d41a2b commitc080b22
1 file changed
+5
-6
lines changedLines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
932 | 932 |
| |
933 | 933 |
| |
934 | 934 |
| |
935 |
| - | |
| 935 | + | |
| 936 | + | |
936 | 937 |
| |
937 | 938 |
| |
938 | 939 |
| |
| |||
963 | 964 |
| |
964 | 965 |
| |
965 | 966 |
| |
966 |
| - | |
| 967 | + | |
967 | 968 |
| |
968 | 969 |
| |
969 | 970 |
| |
970 | 971 |
| |
971 | 972 |
| |
972 |
| - | |
973 |
| - | |
| 973 | + | |
974 | 974 |
| |
975 | 975 |
| |
976 | 976 |
| |
| |||
979 | 979 |
| |
980 | 980 |
| |
981 | 981 |
| |
982 |
| - | |
983 |
| - | |
| 982 | + | |
984 | 983 |
| |
985 | 984 |
| |
986 | 985 |
| |
|
0 commit comments
Comments
(0)