]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If a rollback mode transaction reduces the size of the database file, avoid actually...
authordan <dan@noemail.net>
Sat, 23 Feb 2013 16:40:46 +0000 (16:40 +0000)
committerdan <dan@noemail.net>
Sat, 23 Feb 2013 16:40:46 +0000 (16:40 +0000)
commitbc1a3c6ce2dcb1864285b5e2a3d8ce12c075f2a5
tree54728cee6a037f26524cc5c903e3aefbd4283a7a
parentf38b65a85d6f7403c75b273307c13e37c98fc33a
If a rollback mode transaction reduces the size of the database file, avoid actually truncating the file until after the transaction has been committed (but before the db has been unlocked). This means pages that are removed from the database by truncating the file need not be journalled.

FossilOrigin-Name: b73847f17b7ae1298dfc52de6c4c4bc809bc77a3
manifest
manifest.uuid
src/backup.c
src/btree.c
src/btreeInt.h
src/pager.c
test/tkt3762.test