5c327dbb46
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 |
||
---|---|---|
.. | ||
ft_hash.c | ||
ft_hash.h | ||
fts1_hash.c | ||
fts1_hash.h | ||
fts1_porter.c | ||
fts1_tokenizer1.c | ||
fts1_tokenizer.h | ||
fts1.c | ||
fts1.h | ||
fulltext.c | ||
fulltext.h | ||
README.txt | ||
simple_tokenizer.c | ||
tokenizer.h |
This folder contains source code to the first full-text search extension for SQLite.