Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/test/fts4merge2.test

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1
2
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
8
9 # If SQLITE_ENABLE_FTS3 is defined, omit this file.
10 ifcapable !fts3 {
11 finish_test
12 return
13 }
14
15 do_test 1.0 {
16 fts3_build_db_1 1000
17 faultsim_save_and_close
18 } {}
19
20 do_faultsim_test 1.1 -faults oom-* -prep {
21 faultsim_restore_and_reopen
22 } -body {
23 execsql { INSERT INTO t1(t1) VALUES('merge=32,4') }
24 } -test {
25 faultsim_test_result {0 {}}
26 }
27
28 do_faultsim_test 1.2 -faults oom-t* -prep {
29 if {$iFail<100} {set iFail 803}
30 faultsim_restore_and_reopen
31 } -body {
32 execsql { INSERT INTO t1(t1) VALUES('merge=1,2') }
33 execsql { INSERT INTO t1(t1) VALUES('merge=1,2') }
34 } -test {
35 faultsim_test_result {0 {}}
36 }
37
38 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/test/fts4merge.test ('k') | third_party/sqlite/sqlite-src-3080704/test/fts4merge3.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698