-C Updates\sto\sthe\sdocumentation\sfor\ssqlite3_wal_checkpoint_v2()\sand\srelated\ninterfaces,\sincluding\sadding\smany\srequirements\smarks.
-D 2014-12-03T15:50:09.223
+C Futher\stweaks\sto\sthe\ssqlite3_wal_checkpoint_v2()\sdocumentation.
+D 2014-12-03T16:30:27.252
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in a226317fdf3f4c895fb3cfedc355b4d0868ce1fb
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
F src/rowset.c eccf6af6d620aaa4579bd3b72c1b6395d9e9fa1e
F src/select.c 428165951748151e87a15295b7357221433e311b
F src/shell.c 45d9c9bd7cde07845af957f2d849933b990773cf
-F src/sqlite.h.in 7d33b94a32b013832b53ad86be543168f87f8eb7
+F src/sqlite.h.in 8c881e8d225167a878ed7d78a776b372304823a9
F src/sqlite3.rc 992c9f5fb8285ae285d6be28240a7e8d3a7f2bad
F src/sqlite3ext.h 17d487c3c91b0b8c584a32fbeb393f6f795eea7d
F src/sqliteInt.h c9e95b8fa9aee30d46387735c5be73fa58886e38
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P edda2b9e7a15ed486de81b10dd9bacd39c571d3f
-R d436425f6a4681c70264f79cf1bfa41d
+P 1e212d9899387344fd62c7b6fbcc59ea885b6d7c
+R e9765e182534ca03b14c9167cc7abee7
U drh
-Z 881f6486595c3b0d62652277de190ac9
+Z 0ecdc98d536d1a5e17e6fc5f0fd27d98
-1e212d9899387344fd62c7b6fbcc59ea885b6d7c
\ No newline at end of file
+7d284d047b0677fb4532df5aae06f5bad997f5e9
\ No newline at end of file
** </dl>
**
** ^If pnLog is not NULL, then *pnLog is set to the total number of frames in
-** the log file before returning or to -1 if the checkpoint could not run because
+** the log file or to -1 if the checkpoint could not run because
** of an error or because the database is not in [WAL mode]. ^If pnCkpt is not NULL,
-** then *pnCkpt is set to the total number of checkpointed frames (including any
-** that were already checkpointed before the function was called) or to -1 if the
-** checkpoint could not run due to an error or because the database is not in
-** WAL mode.
+** then *pnCkpt is set to the total number of checkpointed frames in the log file
+** (including any that were already checkpointed before the function was called)
+** or to -1 if the checkpoint could not run due to an error or because the
+** database is not in WAL mode. ^Note that upon successful completion of
+** an SQLITE_CHECKPOINT_TRUNCATE, the log file will have been truncated to
+** zero bytes and so both *pnLog and *pnCkpt will be set to zero.
**
** ^All calls obtain an exclusive "checkpoint" lock on the database file. ^If
** any other process is running a checkpoint operation at the same time, the
** zDb is not NULL (or a zero length string) and is not the name of any
** attached database, SQLITE_ERROR is returned to the caller.
**
+** ^Unless it returns SQLITE_MISUSE,
+** the sqlite3_wal_checkpoint_v2() interface
+** sets the error information that is queried by
+** [sqlite3_errcode()] and [sqlite3_errmsg()].
+**
** ^The [PRAGMA wal_checkpoint] command can be used to invoke this interface
** from SQL.
*/