aboutsummaryrefslogtreecommitdiff
path: root/test/hook.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/hook.test')
-rw-r--r--test/hook.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hook.test b/test/hook.test
index d19dfaf8c..c037c04dc 100644
--- a/test/hook.test
+++ b/test/hook.test
@@ -15,7 +15,7 @@
#
# sqlite_commit_hook
#
-# $Id: hook.test,v 1.3 2004/01/15 02:44:03 drh Exp $
+# $Id: hook.test,v 1.4 2004/05/31 08:26:49 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -65,7 +65,7 @@ do_test hook-3.5 {
do_test hook-3.6 {
set commit_cnt {}
proc commit_hook {} {
- set ::commit_cnt [execsql {SELECT * FROM t2}]
+ set ::commit_cnt [execsql {SELECT * FROM t2}]
return 1
}
catchsql {
@@ -73,7 +73,7 @@ do_test hook-3.6 {
}
} {1 {constraint failed}}
do_test hook-3.7 {
- set commit_cnt
+ set ::commit_cnt
} {1 2 2 3 3 4 4 5 5 6 6 7}
do_test hook-3.8 {
execsql {SELECT * FROM t2}