Re: [sqlite] Testing PRAGMA integrity_check functionality

2011-12-05 Thread George Eckert
Thanks for the suggestion and the link. On Fri, Dec 2, 2011 at 11:49 PM, Roger Binns wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/12/11 06:44, George Eckert wrote: > > Does anyone know of a "good" way to forfce an error in a database so > > that PRAGMA integrity_check would

Re: [sqlite] Testing PRAGMA integrity_check functionality

2011-12-02 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/12/11 06:44, George Eckert wrote: > Does anyone know of a "good" way to forfce an error in a database so > that PRAGMA integrity_check would produce an error? Truncating the database a bit after a vacuum will definitely do it, and it will likely

Re: [sqlite] Testing PRAGMA integrity_check functionality

2011-12-02 Thread Richard Hipp
On Fri, Dec 2, 2011 at 9:44 AM, George Eckert 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,

[sqlite] Testing PRAGMA integrity_check functionality

2011-12-02 Thread George Eckert
Does anyone know of a "good" way to forfce an error in a database so that PRAGMA integrity_check would produce an error? Thanks, George Eckert ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-u