On 14 Jan 2016, at 9:58am, sanhua.zh <sanhua.zh at foxmail.com> wrote:
> Through the error code timeline, it shows that much of SQLITE_FULL, > SQLITE_IOERR, SQLITE_CANTOPEN happened before SQLITE_CORRUPT. You should never get to this situation. The three result codes SQLITE_FULL, SQLITE_IOERR, SQLITE_CANTOPEN are fatal errors. Your program should crash there, it must not try to continue using the database. Simon.