3 set testdir [file dirname $argv0]
4 source $testdir/tester.tcl
5 source $testdir/fts3_common.tcl
6 source $testdir/malloc_common.tcl
7 set ::testprefix fts4merge2
9 # If SQLITE_ENABLE_FTS3 is defined, omit this file.
17 faultsim_save_and_close
20 do_faultsim_test 1.1 -faults oom-* -prep {
21 faultsim_restore_and_reopen
23 execsql { INSERT INTO t1(t1) VALUES('merge=32,4') }
25 faultsim_test_result {0 {}}
28 do_faultsim_test 1.2 -faults oom-t* -prep {
29 if {$iFail<100} {set iFail 803}
30 faultsim_restore_and_reopen
32 execsql { INSERT INTO t1(t1) VALUES('merge=1,2') }
33 execsql { INSERT INTO t1(t1) VALUES('merge=1,2') }
35 faultsim_test_result {0 {}}