]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Convert fts2 to use sqlite3_prepare_v2() to prevent certain logic
authorshess <shess@noemail.net>
Fri, 10 Aug 2007 23:47:03 +0000 (23:47 +0000)
committershess <shess@noemail.net>
Fri, 10 Aug 2007 23:47:03 +0000 (23:47 +0000)
commit9fa502205d96765c474b1d1949ad04aff32bc646
tree4c32ce1d1211ee43d10a215cc6418c5a387683d2
parent9a47736e475ddd435f6609de606a95e35aabcf18
Convert fts2 to use sqlite3_prepare_v2() to prevent certain logic
errors around SQLITE_SCHEMA handling.  This also allows
sql_step_statement() and sql_step_leaf_statement() to be replaced with
sqlite3_step().

Also fix a logic error in flushPendingTerms() which was clearing the
term table in case of error.  This was wrong in the face of
SQLITE_SCHEMA.  Even though the change to sqlite3_prepare_v2() should
cause us not to see SQLITE_SCHEMA any longer, it was still a logic
error... (CVS 4205)

FossilOrigin-Name: 16730cb137eaf576b87cdc17913564c9c5c0ed82
ext/fts2/fts2.c
manifest
manifest.uuid
test/fts2k.test