forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitec5a010
committed
Fix pfree issue in presorted DISTINCT aggregate code
The logic in this area was recently changed in7da5159, however, in thatcommit, I neglected to consider that the conditions in which we shouldpfree the old Datum needed to be updated after that change. This couldresult in trying to pfree a NULL value, as was demonstrated by AlexanderLakhin.Reported-by: Alexander LakhinDiscussion:https://postgr.es/m/4103db46-d888-6d1d-e88d-87c21ed99472@gmail.com1 parentbd94488 commitec5a010
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4254 | 4254 | | |
4255 | 4255 | | |
4256 | 4256 | | |
4257 | | - | |
| 4257 | + | |
| 4258 | + | |
4258 | 4259 | | |
4259 | 4260 | | |
4260 | 4261 | | |
| |||
0 commit comments
Comments
(0)