aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
authordan <Dan Kennedy>2021-04-21 20:52:17 +0000
committerdan <Dan Kennedy>2021-04-21 20:52:17 +0000
commita23a873fbb02bdb20923aae7d2476f07d4245bc3 (patch)
treef4b23113105b11a0e06da5f56a145cc0f2e24521 /src/vdbeaux.c
parent7437c25b63be5cdf678dc5d2f25d1837c126c8b7 (diff)
downloadsqlite-a23a873fbb02bdb20923aae7d2476f07d4245bc3.tar.gz
sqlite-a23a873fbb02bdb20923aae7d2476f07d4245bc3.zip
Add the experimental sqlite3session_changeset_size() API.
FossilOrigin-Name: b5564a6fd54875db1de884fdc0e5eeabcd6aa5595ad03a8a60843503e830a2d8
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index 296408064..d22a6a559 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -5189,7 +5189,8 @@ void sqlite3VdbePreUpdateHook(
const char *zDb, /* Database name */
Table *pTab, /* Modified table */
i64 iKey1, /* Initial key value */
- int iReg /* Register for new.* record */
+ int iReg, /* Register for new.* record */
+ int iBlobWrite
){
sqlite3 *db = v->db;
i64 iKey2;
@@ -5225,6 +5226,7 @@ void sqlite3VdbePreUpdateHook(
preupdate.iKey1 = iKey1;
preupdate.iKey2 = iKey2;
preupdate.pTab = pTab;
+ preupdate.iBlobWrite = iBlobWrite;
db->pPreUpdate = &preupdate;
db->xPreUpdateCallback(db->pPreUpdateArg, db, op, zDb, zTbl, iKey1, iKey2);