aboutsummaryrefslogtreecommitdiff
path: root/src/update.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-11-09 00:10:33 +0000
committerdrh <drh@noemail.net>2016-11-09 00:10:33 +0000
commit9b4eaebc68ec3a209c698b1220ef2bc49cdb41dc (patch)
treeddc38da5766092a4f8d19dbdd4ecc892152599a4 /src/update.c
parent3b908d41a0d3800a6ebe5dff42f4117fc342105c (diff)
downloadsqlite-9b4eaebc68ec3a209c698b1220ef2bc49cdb41dc.tar.gz
sqlite-9b4eaebc68ec3a209c698b1220ef2bc49cdb41dc.zip
Enhance the OP_IdxInsert opcode to optionally accept unpacked key material.
FossilOrigin-Name: 89d958abbac45f2ca5954080cd9e74ec9a07ebb2
Diffstat (limited to 'src/update.c')
-rw-r--r--src/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index 15e58e34c..1fa53e3d1 100644
--- a/src/update.c
+++ b/src/update.c
@@ -398,7 +398,7 @@ void sqlite3Update(
}else{
sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, nPk, regKey,
sqlite3IndexAffinityStr(db, pPk), nPk);
- sqlite3VdbeAddOp2(v, OP_IdxInsert, iEph, regKey);
+ sqlite3VdbeAddOp4Int(v, OP_IdxInsert, iEph, regKey, iPk, nPk);
}
sqlite3WhereEnd(pWInfo);
}