3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
10 #***********************************************************************
11 # This file tests that bug 9d68c883132c8e9ffcd5b0c148c990807b5df1b7
15 set testdir [file dirname $argv0]
16 source $testdir/tester.tcl
18 do_test tkt-9d68c88-1.1 {
20 PRAGMA page_size = 1024;
21 PRAGMA auto_vacuum = 2;
25 INSERT INTO t5 VALUES(randomblob(1500));
32 for {set i 0} {$i < 100} {incr i} {
34 sqlite3_simulate_device -sectorsize 8192
35 sqlite3 db test.db -vfs devsym
37 do_test tkt-9d68c88-2.$i {
41 INSERT INTO t8 VALUES('hello world');
44 sqlite3_memdebug_fail $i -repeat 0
45 catchsql { DROP TABLE t7; }
46 sqlite3_memdebug_fail -1
49 execsql { PRAGMA integrity_check }