diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-05-24 17:56:52 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-05-24 17:57:32 -0400 |
| commit | b23aeb6519651146cf35b2b91d24596f37b40794 (patch) | |
| tree | 5f1bd4bdffeb9062f3ebcbd6a418ca28158b5e3a /src/interfaces/ecpg/test/sql/sqlda.pgc | |
| parent | 11c08c3fd79f1fd5a83f9156fc1c43c7be3453ce (diff) | |
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 have
changed the context's state before failing). Fix missed direct invocation
of reset method. Reformat a comment.
Diffstat (limited to 'src/interfaces/ecpg/test/sql/sqlda.pgc')
0 files changed, 0 insertions, 0 deletions
