sqlite/ext/fts2
shess 5c327dbb46 http://www.sqlite.org/cvstrac/tktview?tn=2046
The virtual table interface allows for a cursor to field multiple
xFilter() calls.  For instance, if a join is done with a virtual
table, there could be a call for each row which potentially matches.
Unfortunately, fulltextFilter() assumes that it has a fresh cursor,
and overwrites a prepared statement and a malloc'ed pointer, resulting
in unfinalized statements and a memory leak.

This change hacks the code to manually clean up offending items in
fulltextFilter(), emphasis on "hacks", since it's a fragile fix
insofar as future additions to fulltext_cursor could continue to have
the problem. (CVS 3521)

FossilOrigin-Name: 18142fdb6d1f5bfdbb1155274502b9a602885fcb
2006-11-29 05:17:28 +00:00
..
fts2_hash.c Copy fts1/ to fts2/, changing reference from fts1 to fts2. For future 2006-10-10 17:37:14 +00:00
fts2_hash.h Copy fts1/ to fts2/, changing reference from fts1 to fts2. For future 2006-10-10 17:37:14 +00:00
fts2_porter.c Remove unreferenced local variable. (CVS 3487) 2006-10-25 23:22:03 +00:00
fts2_tokenizer1.c Copy fts1/ to fts2/, changing reference from fts1 to fts2. For future 2006-10-10 17:37:14 +00:00
fts2_tokenizer.h Copy fts1/ to fts2/, changing reference from fts1 to fts2. For future 2006-10-10 17:37:14 +00:00
fts2.c http://www.sqlite.org/cvstrac/tktview?tn=2046 2006-11-29 05:17:28 +00:00
fts2.h Copy fts1/ to fts2/, changing reference from fts1 to fts2. For future 2006-10-10 17:37:14 +00:00
README.txt Copy fts1/ to fts2/, changing reference from fts1 to fts2. For future 2006-10-10 17:37:14 +00:00

This folder contains source code to the second full-text search
extension for SQLite.  While the API is the same, this version uses a
substantially different storage schema from fts1, so tables will need
to be rebuilt.