1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Improve coverage of code in fts3.

FossilOrigin-Name: 1a08a836fa919524216a16faf5212eebc9ad788c9e15463b68b0576dfccd4387
This commit is contained in:
dan
2017-04-17 13:38:09 +00:00
parent 6887e8facd
commit ddf4747053
8 changed files with 132 additions and 69 deletions

View File

@ -18,8 +18,6 @@ set ::testprefix fts3fault
# If SQLITE_ENABLE_FTS3 is not defined, omit this file.
ifcapable !fts3 { finish_test ; return }
if 0 {
# Test error handling in the sqlite3Fts3Init() function. This is the
# function that registers the FTS3 module and various support functions
# with SQLite.
@ -160,8 +158,6 @@ do_faultsim_test 7.3 -prep {
}
}
proc mit {blob} {
set scan(littleEndian) i*
set scan(bigEndian) I*
@ -234,4 +230,12 @@ do_faultsim_test 9.1 -prep {
faultsim_test_result {0 {{0 0 20 39 0 0 64 2}}}
}
do_faultsim_test 10.1 -prep {
faultsim_delete_and_reopen
} -body {
execsql { CREATE VIRTUAL TABLE t1 USING fts4(a, b, languageid=d) }
} -test {
faultsim_test_result {0 {}}
}
finish_test