Account for reserved space in SQLite recover module.
commit0ba4adfdd09dc392ca8f7655b0a27295f477fa02
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 30 Apr 2013 06:07:58 +0000 (30 06:07 +0000)
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 30 Apr 2013 06:07:58 +0000 (30 06:07 +0000)
tree2d94d8cfc4ade1ffec054f59257c45487ffd4861
parent2e6548cd07e1269bf1f0e84067737395a47dda11
Account for reserved space in SQLite recover module.

Propagating nPageSize-nReserved from the top seems to do it.  I was
unable to affect this directly, I ended up testing by modifying PRAGMA
page_size to set the reserved space to 4 bytes, then hacking
recover2.test in my checkout to call that.

BUG=none

Review URL: https://chromiumcodereview.appspot.com/14559002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197299 0039d316-1c4b-4281-b951-d872f2087c98
third_party/sqlite/src/src/recover-alt.c