aboutsummaryrefslogtreecommitdiff
path: root/test/hook.test
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2004-05-31 08:26:49 +0000
committerdanielk1977 <danielk1977@noemail.net>2004-05-31 08:26:49 +0000
commit1d850a72c265ad9368b322ca39125c9b0c3d8509 (patch)
tree3ae42a002f87796ecea58f7094dea2096fa4439a /test/hook.test
parenta19b775db9b2f12263e54cf0f64162ced526fff5 (diff)
downloadsqlite-1d850a72c265ad9368b322ca39125c9b0c3d8509.tar.gz
sqlite-1d850a72c265ad9368b322ca39125c9b0c3d8509.zip
Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500)
FossilOrigin-Name: b8ed812c92f2dbb4431d45aeb41646ceb53e0cbc
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}