]> git.ipfire.org Git - thirdparty/sqlite.git/commit
fts3 functions for testing scripts. These are a first step towards
authorshess <shess@noemail.net>
Thu, 3 Jul 2008 19:53:21 +0000 (19:53 +0000)
committershess <shess@noemail.net>
Thu, 3 Jul 2008 19:53:21 +0000 (19:53 +0000)
commit6c106e3f3b3faaf11778ce579a24ae0ba5a5b7be
treee58b5d2f113a824ea346d4f4b9e2951e01c5e62b
parent1f9caa41a009519a1e1055b0c32c9e27e189e193
fts3 functions for testing scripts.  These are a first step towards
being able to write test script which verify that fts3 is internally
building indices in the expected way.  Both new functions are only
defined if fts3.c is compiled with SQLITE_TEST defined, as when
building testfixture.  These functions are not intended to be part of
the exposed fts3 API.

dump_terms() generates a TEXT result of all the terms in the index (or
a specified segment), sorted and joined with spaces.

dump_doclist() generates a TEXT representation of the doclist
associated with a given term in the index (or a specified segment). (CVS 5340)

FossilOrigin-Name: a48e3d95f7a656285e959cef595cbe6d53428ad9
ext/fts3/fts3.c
manifest
manifest.uuid
test/fts3c.test [new file with mode: 0644]