All tests pass when SQLITE_OMIT_INTEGRITY_CHECK is defined. (CVS 2055)
FossilOrigin-Name: 158a2d16a8630e3b5892120f6ea68f2b0dc47eb3
This commit is contained in:
+3
-11
@@ -11,7 +11,7 @@
|
||||
# This file implements regression tests for SQLite library. The
|
||||
# focus of this script is btree database backend.
|
||||
#
|
||||
# $Id: btree7.test,v 1.1 2004/06/05 00:01:46 drh Exp $
|
||||
# $Id: btree7.test,v 1.2 2004/11/04 14:47:13 drh Exp $
|
||||
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@@ -39,20 +39,12 @@ do_test btree7-1.1 {
|
||||
INSERT INTO t1 VALUES(9, '$bigdata');
|
||||
"
|
||||
} {}
|
||||
#puts [execsql {select * from sqlite_master}]
|
||||
#set bt [btree_open test.db 2000 0]
|
||||
#btree_tree_dump $bt 2
|
||||
do_test btree7-1.2 {
|
||||
execsql {PRAGMA integrity_check}
|
||||
} {ok}
|
||||
integrity_check btree7-1.2
|
||||
do_test btree7-1.3 {
|
||||
execsql "
|
||||
INSERT INTO t1 VALUES(4, '$bigdata');
|
||||
"
|
||||
} {}
|
||||
#btree_tree_dump $bt 2
|
||||
do_test btree7-1.4 {
|
||||
execsql {PRAGMA integrity_check}
|
||||
} {ok}
|
||||
integrity_check btree7-1.4
|
||||
|
||||
finish_test
|
||||
|
||||
Reference in New Issue
Block a user