Increase test coverage of new savepoint code. (CVS 6040)

FossilOrigin-Name: d915718d0b346982d686d131a159b67e28fc02a8
This commit is contained in:
danielk1977
2008-12-18 18:31:38 +00:00
parent 12dd54962d
commit 34cf35dac4
7 changed files with 157 additions and 26 deletions
+1 -7
View File
@@ -9,7 +9,7 @@
#
#***********************************************************************
#
# $Id: savepoint2.test,v 1.1 2008/12/18 15:45:07 danielk1977 Exp $
# $Id: savepoint2.test,v 1.2 2008/12/18 18:31:39 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -22,15 +22,9 @@ proc signature {} {
return [db eval {SELECT count(*), md5sum(x) FROM t3}]
}
do_test savepoint2-1 {
execsql {
PRAGMA cache_size=10;
}
db close
sqlite3 db test.db
execsql {
BEGIN;
CREATE TABLE t3(x TEXT);
INSERT INTO t3 VALUES(randstr(10,400));