aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordan <Dan Kennedy>2025-07-07 20:47:23 +0000
committerdan <Dan Kennedy>2025-07-07 20:47:23 +0000
commit7fc6e6a2726e650d3b82c6d3683bdbdc10e02467 (patch)
tree8108b2b781a2922392cc7cfc080c4b2966c70de1 /test
parent0a5508aeb4433dc75a22d9cd18ece5c7a13648b5 (diff)
downloadsqlite-7fc6e6a2726e650d3b82c6d3683bdbdc10e02467.tar.gz
sqlite-7fc6e6a2726e650d3b82c6d3683bdbdc10e02467.zip
Only run preupdate-hook tests in incrblob4.test if the preupdate-hook is enabled in the build.
FossilOrigin-Name: 56314b6b53c86ae131f780e20b62bdeabccba6d62dda41becc1c4b2e87cee07b
Diffstat (limited to 'test')
-rw-r--r--test/incrblob4.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/incrblob4.test b/test/incrblob4.test
index 31040e91b..d6ffe6b65 100644
--- a/test/incrblob4.test
+++ b/test/incrblob4.test
@@ -108,6 +108,8 @@ close $blob
#-------------------------------------------------------------------------
+ifcapable preupdate {
+
reset_db
do_execsql_test 5.1 {
CREATE TABLE t2(a INTEGER PRIMARY KEY, b);
@@ -193,8 +195,10 @@ do_test 5.4.4 {
catch { close $blob }
catchsql { ROLLBACK }
-do_test 5.3.3 {
+do_test 5.4.5 {
set ::preupdate_count
} {2}
+}
+
finish_test