summaryrefslogtreecommitdiffstats
path: root/third_party/sqlite/test/lock4.test
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/sqlite/test/lock4.test')
-rw-r--r--third_party/sqlite/test/lock4.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/sqlite/test/lock4.test b/third_party/sqlite/test/lock4.test
index dc8586f..a8cacb1 100644
--- a/third_party/sqlite/test/lock4.test
+++ b/third_party/sqlite/test/lock4.test
@@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this script is database locks.
#
-# $Id: lock4.test,v 1.8 2008/03/14 08:57:42 danielk1977 Exp $
+# $Id: lock4.test,v 1.10 2009/05/06 00:52:41 drh Exp $
set testdir [file dirname $argv0]
@@ -53,7 +53,7 @@ do_test lock4-1.2 {
# Create a script for the second process to run.
#
set out [open test2-script.tcl w]
- puts $out "set sqlite_pending_byte [set sqlite_pending_byte]"
+ puts $out "sqlite3_test_control_pending_byte [set sqlite_pending_byte]"
puts $out {
sqlite3 db2 test2.db
db2 eval {
@@ -102,6 +102,7 @@ do_test lock4-1.3 {
# deleting the journal file. But it might retain the lock for a
# fraction longer
#
+ after 25
db2 eval {
SELECT * FROM t2
}