SQLite Forum

pragma integrity_check; Error: disk I/O error
Login
Yeah, but after taking the copy do an integrity check immediately to make sure it's not already corrupt.

We had a thread here from someone who insisted that their database kept getting corrupted.  But it turned out that after the database file failed the integrity check they continued working with it, apparently thinking that SQLite automatically fixed all the problems integrity_check reported.