Home
last modified time | relevance | path

Searched refs:testrc (Results 1 – 18 of 18) sorted by relevance

/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest2.c327 int testrc = 0; in crash_test1() local
333 testrc = tdb_lsm_open(azConfig[bCompress], DBNAME, 0, &pDb); in crash_test1()
334 assert( testrc==0 ); in crash_test1()
338 for(iWork=0; testrc==0 && iWork<nWork; iWork++){ in crash_test1()
341 testrc = lsm_work(db, 0, nPage, &nWrite); in crash_test1()
343 if( testrc==0 ) testrc = lsm_checkpoint(db, 0); in crash_test1()
382 int testrc = 0; in crash_test2() local
388 testrc = tdb_lsm_open("safety=2", DBNAME, 0, &pDb); in crash_test2()
389 assert( testrc==0 ); in crash_test2()
398 testrc = tdb_write(pDb, pKey, nKey, pVal, nVal); in crash_test2()
[all …]
/sqlite-3.40.0/ext/session/
H A Dsessionfault.test55 if {$testrc==0} { compare_db db db2 }
76 if {$testrc==0} {
155 if {$testrc==0} {
212 if {$testrc==0} { compare_db db db2 }
242 if {$testrc==0} {
278 if {$testrc==0} {
310 if {$testrc==0} {
358 if {$testrc==0} {
386 if {$testrc==0} {
545 if {$testrc==0} {
[all …]
H A Dsessionfault2.test67 if {$testrc==0} {
143 if {$testrc==0} { compare_db db db2 }
/sqlite-3.40.0/test/
H A Dmalloc_common.tcl292 upvar testrc testrc testresult testresult testnfail testnfail
293 set t [list $testrc $testresult]
296 error "nfail=$testnfail rc=$testrc result=$testresult list=$r"
347 proc faultsim_test_proc {testrc testresult testnfail} $O(-test)
H A Dupfromfault.test83 if {$testrc==0} {
130 if {$testrc==0} {
H A Dmultiplex3.test91 if {$testrc!=0} {
155 if {$testrc==0} {
H A Dwal3.test291 set ::testrc [ catch { db2 eval "SELECT * FROM t1" } ::testmsg ]
310 set testrc ""
319 list $::testrc $::testmsg
328 set testrc ""
335 list $::testrc $::testmsg
H A Dwal4.test56 if { $testrc==0 && [file exists test.db-wal] } {
H A Dwalfault.test60 if { $testrc==0 && $jm!="wal" } { error "Journal mode is not WAL" }
519 if {!(($nRow==2 && $testrc) || $nRow==3)} { error "Bad db content" }
549 if {!(($nRow==2 && $testrc) || $nRow==3)} { error "Bad db content" }
H A Dfuzz_malloc.test61 if {$testrc && $testresult!="datatype mismatch"} {
H A Dtempfault.test39 if {$testrc==0 && $msg != "1 2 3 4 5 6"} {
H A Dsnapshot_fault.test151 if {$testrc==0} {
H A Dpagerfault.test1208 if {$testrc!=0 && $sz!=1024*3 && $sz!=4096*3} {
1211 if {$testrc==0 && $sz!=4096*3} {
/sqlite-3.40.0/ext/recover/
H A Drecoverfault2.test58 if {$testrc==0} {
90 if {$testrc==0} {
H A Drecoverfault.test55 if {$testrc==0} {
/sqlite-3.40.0/ext/rbu/
H A Drbufault.test157 if {$testrc==0} {
211 if {$testrc==0} {
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5fault1.test246 if {$testrc==0} {
345 if {$testrc==0} {
H A Dfts5fault6.test288 if {$testrc==0} {