]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Break interior-node and leaf-node readers apart in loadSegment().
authorshess <shess@noemail.net>
Fri, 27 Apr 2007 22:02:57 +0000 (22:02 +0000)
committershess <shess@noemail.net>
Fri, 27 Apr 2007 22:02:57 +0000 (22:02 +0000)
commit8ffcadb57edf0efdc704ebed3c7e9d9b2003ecb4
tree554f5910f9e696f81e75a4f728c34e64c8e24834
parentd1e3a616ca68c0ab34c8e1a6d027fd46ea3e4f54
Break interior-node and leaf-node readers apart in loadSegment().
Previously, the code looped until the block was a leaf node as
indicated by a leading NUL.  Now the code loops until it finds a block
in the range of leaf nodes for this segment, then reads it using
LeavesReader.  This will make it easier to traverse a range of leaves
when doing a prefix search. (CVS 3884)

FossilOrigin-Name: 9466367d65f43d58020e709428268dc2ff98aa35
ext/fts2/fts2.c
manifest
manifest.uuid