1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-24 22:22:08 +03:00

Fix an assert() in pager.c added by the previous commit. And various problems with test scripts in autovacuum and in-memory journal mode.

FossilOrigin-Name: 62a10101776b41236ff7bd08c8aa85765a43df7c
This commit is contained in:
dan
2010-07-03 10:00:00 +00:00
parent fce218c5ad
commit f43d7fce61
8 changed files with 40 additions and 28 deletions

View File

@ -241,8 +241,11 @@ do_faultsim_test pagerfault-5.3 -faults oom-transient -prep {
}
} -test {
faultsim_test_result {0 {}}
faultsim_integrity_check
catchsql { COMMIT }
catchsql { ROLLBACK }
faultsim_integrity_check
set res ""
set rc [catch { set res [db one { PRAGMA aux.integrity_check }] }]
if {$rc!=0 || $res != "ok"} {error "integrity-check problem:$rc $res"}