mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Fix up the busy test so that it can be run multiple times in a row without
giving false errors on 2nd and subsequent runs. (CVS 2714) FossilOrigin-Name: 7a7ba73fb5d1d493dc2c8c0d5ed4ee6d895bb339
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#***********************************************************************
|
||||
# This file test the busy handler
|
||||
#
|
||||
# $Id: busy.test,v 1.1 2005/07/09 02:16:03 drh Exp $
|
||||
# $Id: busy.test,v 1.2 2005/09/17 18:02:37 drh Exp $
|
||||
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@@ -29,6 +29,7 @@ proc busy x {
|
||||
if {$x>2} {return 1}
|
||||
return 0
|
||||
}
|
||||
set busyargs {}
|
||||
do_test busy-1.2 {
|
||||
db busy busy
|
||||
db2 eval {begin exclusive}
|
||||
|
Reference in New Issue
Block a user