diff options
Diffstat (limited to 'chromium/third_party/sqlite/src/ext/rbu/rbu_common.tcl')
-rw-r--r-- | chromium/third_party/sqlite/src/ext/rbu/rbu_common.tcl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/third_party/sqlite/src/ext/rbu/rbu_common.tcl b/chromium/third_party/sqlite/src/ext/rbu/rbu_common.tcl index c4e98784a48..57db5a561fa 100644 --- a/chromium/third_party/sqlite/src/ext/rbu/rbu_common.tcl +++ b/chromium/third_party/sqlite/src/ext/rbu/rbu_common.tcl @@ -15,6 +15,16 @@ if {![info exists testdir]} { } source $testdir/tester.tcl +proc if_no_rbu_support {tcl} { + set bOk 1 + ifcapable !rbu { set bOk 0 } + if {[permutation]=="journaltest"} { set bOk 0 } + if {$bOk==0} { + set c [catch {uplevel 1 $tcl} r] + return -code $c $r + } +} + proc check_prestep_state {target state} { set oal_exists [file exists $target-oal] set wal_exists [file exists $target-wal] |