/ Check-in [7b8e1761]
Login

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

Overview
Comment:Fix incrvacuum2.test so that it works with the inmemory_journal permutation.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7b8e176143bb8b55e34fd70cbfa639b1097b2c34
User & Date: dan 2011-04-08 17:22:30
Context
2011-04-08
18:47
Add some rtree tests to the backcompat.test script. check-in: 8ea3601c user: dan tags: trunk
17:22
Fix incrvacuum2.test so that it works with the inmemory_journal permutation. check-in: 7b8e1761 user: dan tags: trunk
2011-04-07
19:56
Change two new internal functions in where.c from global to file scope. check-in: 5bbfa17d user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/incrvacuum2.test.

   194    194     } {1640}
   195    195   
   196    196     do_test 4.3 {
   197    197       db close
   198    198       sqlite3 db test.db
   199    199       set maxsz 0
   200    200       while {[file size test.db] > [expr 512*3]} {
          201  +      execsql { PRAGMA journal_mode = WAL }
   201    202         execsql { PRAGMA wal_checkpoint }
   202    203         execsql { PRAGMA incremental_vacuum(1) }
   203    204         set newsz [file size test.db-wal]
   204    205         if {$newsz>$maxsz} {set maxsz $newsz}
   205    206       }
   206    207       set maxsz 
   207    208     } {2176}
   208    209   }
   209    210   
   210    211   finish_test