Add the SQLITE_CHECKPOINT_TRUNCATE option.
When attempting to restart a wal file, make any required calls to sqlite3_randomness() before waiting on or checking for wal file readers. This restores the behaviour exhibited by the trunk.
Add support for SQLITE_CHECKPOINT_TRUNCATE.
Updates to the documentation for sqlite3_wal_checkpoint_v2() and related
interfaces, including adding many requirements marks.
Futher tweaks to the sqlite3_wal_checkpoint_v2() documentation.
Simplify the sqlite3_wal_checkpoint() documentation.  Add some source code
evidence marks.
Fix over-length comment lines in sqlite.h.in.  No changes to code.
Add evidence marks and assert()s used as evidence for checkpoint requirements.
Add an implementation mark and fix a comment describing the OP_Checkpoint
opcode.
Fix comment typos reported on the mailing list.  No changes to code.
Clarification of the meaning of the second parameter to the busy-handler
callback.  No changes to code.
If a table is the right operand of a LEFT JOIN, then any column of that
table can be NULL even if that column as a NOT NULL constraint.
Fix for ticket [6f2222d550f5b0ee7ed].
Performance enhancement for single-table queries with many OR-connected
WHERE clause terms and multiple indexes with the same left-most columns.
Make sure that a DISTINCT query with an ORDER BY works correctly even if
it uses a descending index.  Fix for ticket [c5ea805691bfc4204b1cb9e].
Import from trunk support for SQLITE_CHECKPOINT_TRUNCATE and fixes for
a couple of obscure bugs.
Fix the autoconf and MSVC makefiles, which have been broken for nearly a
month.  :-(
Fix compiler warnings.
Import compiler warning and autoconf makefile fixes from trunk.