aboutsummaryrefslogtreecommitdiff
path: root/test/fts3fault.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/fts3fault.test')
-rw-r--r--test/fts3fault.test12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/fts3fault.test b/test/fts3fault.test
index 7d9433205..2622e4713 100644
--- a/test/fts3fault.test
+++ b/test/fts3fault.test
@@ -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