]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Ensure that when the source of a backup is a database that is zero bytes in size...
authordan <dan@noemail.net>
Sat, 13 Oct 2012 19:58:11 +0000 (19:58 +0000)
committerdan <dan@noemail.net>
Sat, 13 Oct 2012 19:58:11 +0000 (19:58 +0000)
commitb483eba0518170239324b7aac7a76ee7b555d5f1
tree26b2fa2bee1742113acda2cfeaf2a32fade2b371
parent026262b4d8a81c8e327a33c750d654dc31ddb6c1
Ensure that when the source of a backup is a database that is zero bytes in size, the final destination database consists of at least one page. Truncating it to zero bytes is equivalent to zeroing the schema cookie and change counter, which can cause problems for existing clients.

FossilOrigin-Name: af5c9ee4a453f71c03f24ad08824ced6c1b97afb
manifest
manifest.uuid
src/backup.c
src/btree.c
src/btree.h
test/backup4.test [new file with mode: 0644]
test/pager1.test