1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Add test case for SQLITE_FULL errors to pagerfault.test. Remove a NEVER macro in pager.c that this hits.

FossilOrigin-Name: 3e9680c4c18140d083b24e05a21ea6792aef2487
This commit is contained in:
dan
2010-06-23 19:27:36 +00:00
parent 75e876be30
commit 346e426753
6 changed files with 55 additions and 28 deletions

View File

@ -193,6 +193,7 @@ proc ioerr_injectstop {} {
#
proc shmerr_injectinstall {} {
testvfs shmfault -default true
shmfault filter {xShmOpen xShmMap xShmLock}
}
proc shmerr_injectuninstall {} {
catch {db close}
@ -221,7 +222,6 @@ proc fullerr_injectstop {} {
shmfault full 0
}
# This command is not called directly. It is used by the
# [faultsim_test_result] command created by [do_faultsim_test] and used
# by -test scripts.