On Fri, Dec 2, 2011 at 9:44 AM, George Eckert <geckert.h...@gmail.com>wrote:
> Does anyone know of a "good" way to forfce an error in a database so that > PRAGMA integrity_check would produce an error? > We have lots of test procedures for SQLite in which we change individual bytes or individual bits of a database file, then run "PRAGMA integrity_check" to make sure that the change is detected. Obviously, if the bit or byte that changed is in the middle of raw data or in an unused portion of the file, then nothing will be found. But expect any change to the metadata to be detected by PRAGMA integrity_check. > > Thanks, > > George Eckert > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users