forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit91d97f0
committed
Don't dump core when destroying an unused ParallelContext.
If a transaction or subtransaction creates a ParallelContext but endswithout calling InitializeParallelDSM, the previous code wouldseg fault. Fix that.1 parent75096c4 commit91d97f0
1 file changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
| 516 | + | |
517 | 517 | | |
518 | | - | |
519 | | - | |
520 | | - | |
| 518 | + | |
521 | 519 | | |
522 | | - | |
523 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
524 | 527 | | |
525 | 528 | | |
526 | 529 | | |
| |||
550 | 553 | | |
551 | 554 | | |
552 | 555 | | |
553 | | - | |
| 556 | + | |
554 | 557 | | |
555 | 558 | | |
556 | 559 | | |
| |||
0 commit comments
Comments
(0)