forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit566480a
committed
Avoid double free of _SPI_current->tuptable. AtEOSubXact_SPI() now tries to
release it in a subtransaction abort, but this neglects possibility thatsomeone outside SPI already did. Fix is for spi.c to forget about a tuptableas soon as it's handed it back to the caller.Per bug #2817 from Michael Andreen.1 parent8124215 commit566480a
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1543 | 1543 |
| |
1544 | 1544 |
| |
1545 | 1545 |
| |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
1546 | 1549 |
| |
1547 | 1550 |
| |
1548 | 1551 |
| |
| |||
1695 | 1698 |
| |
1696 | 1699 |
| |
1697 | 1700 |
| |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
1698 | 1704 |
| |
1699 | 1705 |
| |
1700 | 1706 |
| |
|
0 commit comments
Comments
(0)