📄 exclusive3.test
字号:
# 2007 March 26## The author disclaims copyright to this source code. In place of# a legal notice, here is a blessing:## May you do good and not evil.# May you find forgiveness for yourself and forgive others.# May you share freely, never taking more than you give.##***********************************************************************## This file runs the tests in the file ioerr.test with # exclusive access mode enabled.## $Id: exclusive3.test,v 1.3 2007/03/30 16:01:55 drh Exp $set testdir [file dirname $argv0]source $testdir/tester.tclifcapable {!pager_pragmas} { finish_test return}rename finish_test really_finish_test2proc finish_test {} {}set ISQUICK 1rename sqlite3 real_sqlite3proc sqlite3 {args} { set r [eval "real_sqlite3 $args"] if { [llength $args] == 2 } { [lindex $args 0] eval {pragma locking_mode = exclusive} } set r}rename do_test really_do_testproc do_test {args} { set sc [concat really_do_test "exclusive-[lindex $args 0]" \ [lrange $args 1 end]] eval $sc}#source $testdir/rollback.test#source $testdir/select1.test#source $testdir/select2.testsource $testdir/malloc.testsource $testdir/ioerr.testrename sqlite3 ""rename real_sqlite3 sqlite3rename finish_test ""rename really_finish_test2 finish_testrename do_test ""rename really_do_test do_testfinish_test
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -