1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

Add further test cases for swarmvtab. And minor code changes.

FossilOrigin-Name: 0f82d3b9dd5bd2e34a984c78e4a4a87921cf3e15b01b611133378c0ea9901010
This commit is contained in:
dan
2017-08-04 17:39:13 +00:00
parent 0ff2217035
commit d83e082524
4 changed files with 79 additions and 55 deletions

View File

@ -67,6 +67,18 @@ do_faultsim_test 1.2 -faults oom* -prep {
faultsim_test_result {0 {1 one 2 two 3 three 10 ten 11 eleven 12 twelve 20 twenty 21 twenty-one 22 twenty-two}}
}
#-------------------------------------------------------------------------
# Error while registering the two vtab modules.
do_faultsim_test 2.0 -faults * -prep {
catch { db close }
sqlite3 db :memory:
} -body {
load_static_extension db unionvtab
} -test {
faultsim_test_result {0 {}} {1 {initialization of unionvtab failed: }}
}
finish_test