]> git.ipfire.org Git - thirdparty/sqlite.git/commit
If a call to sqlite3rbu_close() on an rbu handle opened by sqlite3rbu_vacuum() return... rbu-vacuum
authordan <dan@noemail.net>
Thu, 21 Apr 2016 16:44:38 +0000 (16:44 +0000)
committerdan <dan@noemail.net>
Thu, 21 Apr 2016 16:44:38 +0000 (16:44 +0000)
commitb7a208686ae0a1cbe8aac5919e9502a023ec8409
tree32476254be31e3e3c8db2a275f34693b12057074
parent2e8bfb67d4a6de7029f62573bdc44b6ce9c47d78
If a call to sqlite3rbu_close() on an rbu handle opened by sqlite3rbu_vacuum() returns other than SQLITE_OK, delete the contents of the rbu_state table. This ensures that if an RBU vacuum operation either completes successfully or encounters an error, the next call to sqlite3rbu_vacuum() with the same parameters starts a new RBU vacuum operation.

FossilOrigin-Name: 6e4ac704f51bdd1e0b16814f6a45ab29f26400ee
ext/rbu/rbuvacuum.test
ext/rbu/sqlite3rbu.c
ext/rbu/sqlite3rbu.h
manifest
manifest.uuid