]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Ensure that when the source of a backup is a database that is zero bytes
authordrh <drh@noemail.net>
Sat, 13 Oct 2012 23:16:00 +0000 (23:16 +0000)
committerdrh <drh@noemail.net>
Sat, 13 Oct 2012 23:16:00 +0000 (23:16 +0000)
commit4e40ab5c85e114575fc8817dc2d0d348579b4658
treef851a228a3aa6ef2d9ad8426353e47c49d8933bc
parent026262b4d8a81c8e327a33c750d654dc31ddb6c1
parentaa2db79a2ea6e1f4e9d783b92e9b294be3968b95
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: ca86138bda26c5ac5a7e67351acbd19fbd39b0ae
manifest
manifest.uuid