SQLite Forum

[detect-corrupt-fs] Why to convert SQLITE_IOERR_CORRUPTFS into SQLITE_CORRUPT?
Login
Some of the intermediate processing (logic that occurs in between the read()
return and the return to the application) expects an SQLITE_IOERR only from
read().  This has previously come up with SQLITE_IOERR_NOMEM.