Commit e2e433b
committed
Fix segfault in ExplainNode() on a QE
A receiving Motion has no child PlanState when its child slice runs on
another gang. ExplainNode() recursed into it anyway and crashed.
Return early when planstate is NULL.1 parent db9e849 commit e2e433b
1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1540 | 1540 | | |
1541 | 1541 | | |
1542 | 1542 | | |
1543 | | - | |
| 1543 | + | |
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
| |||
1557 | 1557 | | |
1558 | 1558 | | |
1559 | 1559 | | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
1560 | 1568 | | |
1561 | 1569 | | |
1562 | 1570 | | |
| |||
2945 | 2953 | | |
2946 | 2954 | | |
2947 | 2955 | | |
2948 | | - | |
2949 | | - | |
| 2956 | + | |
| 2957 | + | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
2950 | 2961 | | |
2951 | 2962 | | |
2952 | 2963 | | |
| |||
0 commit comments