- Notifications
You must be signed in to change notification settings - Fork5
Commit1601830
committed
Make ginbuild's funcCtx be independent of its tmpCtx.
Previously the funcCtx was a child of the tmpCtx, but that was brokenby commiteaa5808, which madeMemoryContextReset() delete, not reset, child contexts. The behavior ofhaving a tmpCtx reset also clear the other context seems rather dubiousanyway, so let's just disentangle them. Per report from Erik Rijkers.In passing, fix badly-inaccurate comments about these contexts.1 parent9a8e233 commit1601830
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
370 | 370 |
| |
371 | 371 |
| |
372 | 372 |
| |
373 |
| - | |
374 |
| - | |
| 373 | + | |
| 374 | + | |
375 | 375 |
| |
376 | 376 |
| |
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 | 380 |
| |
381 | 381 |
| |
382 |
| - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
383 | 387 |
| |
384 | 388 |
| |
385 | 389 |
| |
| |||
408 | 412 |
| |
409 | 413 |
| |
410 | 414 |
| |
| 415 | + | |
411 | 416 |
| |
412 | 417 |
| |
413 | 418 |
| |
|
0 commit comments
Comments
(0)