]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Make fts1.c not rely on nul-terminated strings. Mostly a matter of
authorshess <shess@noemail.net>
Fri, 1 Sep 2006 00:33:44 +0000 (00:33 +0000)
committershess <shess@noemail.net>
Fri, 1 Sep 2006 00:33:44 +0000 (00:33 +0000)
commitb2f4d0173a1d5b5bd7b9e1c4c1dfe938656fdf55
tree132470421af6ceac77e99bf677ff8f5ba5935290
parentc0beb14f2322441d079734fcd388638fd414b43d
Make fts1.c not rely on nul-terminated strings.  Mostly a matter of
making sure we always pass around ptr/len, but there were a few places
where we actually relied on nul-termination.

An earlier change had additionally changed appropriate
sqlite3_bind_text() calls to sqlite3_bind_blob().  I've found that
this changes what's actually stored in the database, so backed those
changes out.  Also (and this is weird), I found that I could no longer
do straight-forward = queries against %_term.term at a command-line. (CVS 3379)

FossilOrigin-Name: 5844db1aa9c23a005c88104b084f68afb21891c7
ext/fts1/fts1.c
manifest
manifest.uuid