forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb23aeb6
committed
Cleanup for pull-up-isReset patch.
Clear isReset before, not after, calling the context-specific alloc method,so as to preserve the option to do a tail call in MemoryContextAlloc(and also so this code isn't assuming that a failed alloc call won't havechanged the context's state before failing). Fix missed direct invocationof reset method. Reformat a comment.1 parent11c08c3 commitb23aeb6
2 files changed
+12
-11
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
136 | 136 |
| |
137 | 137 |
| |
138 | 138 |
| |
|
Lines changed: 7 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
| 237 | + | |
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
| |||
510 | 510 |
| |
511 | 511 |
| |
512 | 512 |
| |
513 |
| - | |
514 | 513 |
| |
515 | 514 |
| |
516 | 515 |
| |
517 | 516 |
| |
518 | 517 |
| |
519 | 518 |
| |
520 |
| - | |
521 | 519 |
| |
522 |
| - | |
| 520 | + | |
| 521 | + | |
523 | 522 |
| |
524 | 523 |
| |
525 | 524 |
| |
| |||
540 | 539 |
| |
541 | 540 |
| |
542 | 541 |
| |
| 542 | + | |
| 543 | + | |
543 | 544 |
| |
544 | 545 |
| |
545 | 546 |
| |
546 | 547 |
| |
547 |
| - | |
548 | 548 |
| |
549 | 549 |
| |
550 | 550 |
| |
| |||
566 | 566 |
| |
567 | 567 |
| |
568 | 568 |
| |
| 569 | + | |
| 570 | + | |
569 | 571 |
| |
570 | 572 |
| |
571 | 573 |
| |
572 | 574 |
| |
573 |
| - | |
574 | 575 |
| |
575 | 576 |
| |
576 | 577 |
| |
|
0 commit comments
Comments
(0)