On 11/6/17, Nicholas Lovell <nicholas.lov...@tivo.com> wrote:
> When getting sqlite_corrupt when reading from a database, is there a way to
> know if a particular failure came from reading/initializing a page from a
> WAL file, or the database disk file?
> Specifically I've been seeing a number of failures around btreeInitPage.
> However when I pull up the saved copies I make whenever corruption occurs
> and run "pragma integrity_check", its coming up as "ok".
> I am not at this time keeping hold of the WAL file though, so wanted to know
> if I can confirm that the corruption was in the WAL file or if something
> else might be at fault.
It would be helpful if you could preserve the -wal file too.
D. Richard Hipp
sqlite-users mailing list