/ Check-in [177e2d72]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Further tweaks to the wal7.test test case.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 177e2d72a8a654d25720e6afc7706624610ac80f
User & Date: drh 2011-06-15 19:18:47
Context
2011-06-15
23:34
Fix the multiplex.test module so that it works with the inmemory_journal permutation. check-in: 03d9480f user: drh tags: trunk
19:18
Further tweaks to the wal7.test test case. check-in: 177e2d72 user: drh tags: trunk
17:04
Add a couple of pointer type casts to test file test_quota.c. check-in: 0df061b0 user: dan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/wal7.test.

82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
    INSERT INTO t1 VALUES(1,2);
    INSERT INTO t1 VALUES(zeroblob(200000),4);
    CREATE TABLE t2(z);
    DELETE FROM t1;
    INSERT INTO t2 VALUES(1);
  }
  set sz [file size test.db-wal]
  expr {$sz>0 && $sz<10000}
} 1


# Case 4:  Size limit set before going WAL
#
do_test wal7-4.0 {
  db close







|







82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
    INSERT INTO t1 VALUES(1,2);
    INSERT INTO t1 VALUES(zeroblob(200000),4);
    CREATE TABLE t2(z);
    DELETE FROM t1;
    INSERT INTO t2 VALUES(1);
  }
  set sz [file size test.db-wal]
  expr {$sz>0 && $sz<13700}
} 1


# Case 4:  Size limit set before going WAL
#
do_test wal7-4.0 {
  db close