aboutsummaryrefslogtreecommitdiff
path: root/src/build.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/build.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/build.c')
-rw-r--r--src/build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c
index 350cf9f71..0fe203268 100644
--- a/src/build.c
+++ b/src/build.c
@@ -2818,7 +2818,7 @@ static void sqlite3RefillIndex(Parse *pParse, Index *pIndex, int memRootPage){
}
sqlite3VdbeAddOp3(v, OP_SorterData, iSorter, regRecord, iIdx);
sqlite3VdbeAddOp3(v, OP_Last, iIdx, 0, -1);
- sqlite3VdbeAddOp3(v, OP_IdxInsert, iIdx, regRecord, 0);
+ sqlite3VdbeAddOp2(v, OP_IdxInsert, iIdx, regRecord);
sqlite3VdbeChangeP5(v, OPFLAG_USESEEKRESULT);
sqlite3ReleaseTempReg(pParse, regRecord);
sqlite3VdbeAddOp2(v, OP_SorterNext, iSorter, addr2); VdbeCoverage(v);