1
0
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:
dan
2016-10-05 15:04:35 +00:00
parent da5c62400f
commit 4e59344a4c
3 changed files with 19 additions and 8 deletions

View File

@ -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