Have fts4 full-text queries consider "docid<?" and similar constraints.
Merge trunk changes with this branch.
Allow multi-token phrases to load doclists from the database incrementally. This allows queries that feature such phrases to benefit from the "docid<?" optimization.
Merge trunk changes with this branch.
Add a test to check that the new multi-token phrase optimization is actually helping.
Remove unnecessary memset() calls from test code.
Return an error if an attempt is made to create a trigger with an SQL variable embedded within it. If such a variable reference is found within a trigger definition loaded from the sqlite_master table, silently replace it with a NULL.
Rework the PRAGMA implementation to only call sqlite3ReadSchema() from a single
place, based on a flag in the pragma table, rather than separately from each
case which needs the schema.
The sqlite3FixInit() routine cannot fail.  So change the return type from "int"
to "void".
Allow FTS4 multi-token phrases to use a combination of in-memory and incrementally loaded doclists. This allows phrases to (partially) benefit from incremental doclists without disabling the deferred token optimization.
Merge latest trunk changes.
Have FTS take advantage of "docid<?" constraints when they are present. Extend the FTS "incremental doclist" optimization so that it is used for tokens within multi-token phrases.
Make sure the count(*) optimization works correctly even when partial
indices are present.  Ticket [a5c8ed66cae].