diff options
author | dan <dan@noemail.net> | 2010-08-18 15:25:17 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2010-08-18 15:25:17 +0000 |
commit | 5a9e07eb405d04a6f8b51b97f6c73a3de442965f (patch) | |
tree | 377e1f78d9e12126b50c86837cfe8fe6f4085fa5 /test | |
parent | 35cf908a86dbde84b778d411ce18811a90ad0b99 (diff) | |
download | sqlite-5a9e07eb405d04a6f8b51b97f6c73a3de442965f.tar.gz sqlite-5a9e07eb405d04a6f8b51b97f6c73a3de442965f.zip |
Disable the SQLITE_MAX_PAGE_SIZE compile time option (it is now always set to 65536). Fix some other problems in test files.
FossilOrigin-Name: 56cc883d3af5574c9dafecef8aa96d1d05c01b83
Diffstat (limited to 'test')
-rw-r--r-- | test/ioerr5.test | 2 | ||||
-rw-r--r-- | test/wal.test | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/ioerr5.test b/test/ioerr5.test index 74fe10412..a430f5340 100644 --- a/test/ioerr5.test +++ b/test/ioerr5.test @@ -129,7 +129,7 @@ foreach locking_mode {normal exclusive} { do_test ioerr5-1.$locking_mode-$iFail.3 { sqlite3_soft_heap_limit 1024 compilesql16 "SELECT 10" - } {} + } {SQLITE_OK} close $channel diff --git a/test/wal.test b/test/wal.test index 5bccdd649..1db08b5ec 100644 --- a/test/wal.test +++ b/test/wal.test @@ -1499,9 +1499,10 @@ do_test wal-23.3 { faultsim_restore_and_reopen execsql { SELECT * FROM t1 } } {1 2 3 4} +set nPage [expr 2+$AUTOVACUUM] do_test wal-23.4 { set ::log -} [list SQLITE_OK "Recovered 2 frames from WAL file $walfile"] +} [list SQLITE_OK "Recovered $nPage frames from WAL file $walfile"] db close sqlite3_shutdown |