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.

This is using sqlite 3.16.2.


This email and any attachments may contain confidential and privileged material 
for the sole use of the intended recipient. Any review, copying, or 
distribution of this email (or any attachments) by others is prohibited. If you 
are not the intended recipient, please contact the sender immediately and 
permanently delete this email and any attachments. No employee or agent of TiVo 
Inc. is authorized to conclude any binding agreement on behalf of TiVo Inc. by 
email. Binding agreements with TiVo Inc. may only be made by a signed written 
sqlite-users mailing list

Reply via email to