On 11/22/17, 林自均 <johnl...@gmail.com> wrote: > > Usually, if the database corrupts, the exit value is non-zero. However, I > recently bumped into a corrupted sqlite file that makes the previous > command exit with zero. >
The behavior of PRAGMA integrity_check changed with release 3.21.0. It should now always return error message text and an SQLITE_OK return code. See item 9 on the relase notes: https://www.sqlite.org/releaselog/3_21_0.html -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users