mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Add a test case for the fix in [a596b7c6cc].
FossilOrigin-Name: b2ef39b11f7c46e69e53439680c32adbb18903bd
This commit is contained in:
@ -61,4 +61,15 @@ do_malloc_test mallocI-4 -tclprep {
|
||||
}
|
||||
catch { db2 close }
|
||||
|
||||
do_faultsim_test mallocI-5 -faults oom* -prep {
|
||||
catch { db close }
|
||||
sqlite3 db test.db
|
||||
sqlite3_db_config_lookaside db 0 0 0
|
||||
} -body {
|
||||
db eval { Select CAST(1 AS blob) }
|
||||
} -test {
|
||||
faultsim_test_result {0 1}
|
||||
}
|
||||
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user