]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Re-used prepared statement from fts3 cursor. Previously, each call to
authorshess <shess@noemail.net>
Tue, 29 Jul 2008 01:13:02 +0000 (01:13 +0000)
committershess <shess@noemail.net>
Tue, 29 Jul 2008 01:13:02 +0000 (01:13 +0000)
commitb5f94870c24c3a4c9e83adadcb38d42691b4d9d8
treee2f7df152e6d5d53fa700852f3c592afd5ae8e32
parent633e6d57d92e943fbd3a52ea6627e1a1d0c338b7
Re-used prepared statement from fts3 cursor.  Previously, each call to
fulltextFilter() finalized any existing prepared statement and
prepared a new one.  In the case where idxNum has not changed, simply
reseting the statement suffices.  This provides an order of magnitude
speedup in incoming joins against docid. (CVS 5489)

FossilOrigin-Name: a08a5f2b1256b8a93beca5a359ccfc28d403efa3
ext/fts3/fts3.c
manifest
manifest.uuid