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:
@ -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.
|
||||
|
Reference in New Issue
Block a user