1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Add coverage tests. Remove a NEVER macro from pager.c, as the condition can now be true in wal mode.

FossilOrigin-Name: 7aac9ad6dd14b1c56eb8e4750ac769c6197c30bd
This commit is contained in:
dan
2010-06-24 10:50:17 +00:00
parent a927e94e71
commit dca321aed4
6 changed files with 175 additions and 23 deletions

View File

@ -187,7 +187,6 @@ proc ioerr_injectstop {} {
return $sv
}
# The following procs are used as [do_one_faultsim_test] callbacks when
# injecting shared-memory related error faults into test cases.
#
@ -207,6 +206,9 @@ proc shmerr_injectstop {} {
shmfault ioerr 0 0
}
# The following procs are used as [do_one_faultsim_test] callbacks when
# injecting SQLITE_FULL error faults into test cases.
#
proc fullerr_injectinstall {} {
testvfs shmfault -default true
}