aboutsummaryrefslogtreecommitdiff
path: root/src/test_async.c
diff options
context:
space:
mode:
authorshess <shess@noemail.net>2007-03-20 23:52:37 +0000
committershess <shess@noemail.net>2007-03-20 23:52:37 +0000
commit4607fc06f6c700bc7a8f24041039e83d0733a8ab (patch)
tree4f2386d90a27ef1ea19517a43189148c119267a6 /src/test_async.c
parent3b8a05f6816a77cde324742df285ea75c89f3153 (diff)
downloadsqlite-4607fc06f6c700bc7a8f24041039e83d0733a8ab.tar.gz
sqlite-4607fc06f6c700bc7a8f24041039e83d0733a8ab.zip
Refactor PLWriter in preparation for buffered-document change.
Currently, PLWriter (Position List Writer) creates a locally-owned DataBuffer to write into. This is necessary to support doclist collection during tokenization, where there is no obvious buffer to write output to, but is not necessary for the other users of PLWriter. This change adds a DLCollector (Doc List Collector) structure to handle the tokenization case. Also fix a potential memory leak in writeZeroSegment(). In case of error from leafWriterStep(), the DataBuffer dl was being leaked. (CVS 3706) FossilOrigin-Name: 1b9918e20767aebc9c1e7523027139e5fbc12688
Diffstat (limited to 'src/test_async.c')
0 files changed, 0 insertions, 0 deletions