aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/btree.c2
-rw-r--r--src/vdbe.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/btree.c b/src/btree.c
index 45b4750b7..3e8e59f3a 100644
--- a/src/btree.c
+++ b/src/btree.c
@@ -6100,8 +6100,6 @@ static int fillInCell(
nHeader += putVarint32(&pCell[nHeader], nPayload);
nHeader += putVarint(&pCell[nHeader], *(u64*)&pX->nKey);
}else{
- assert( pX->nData==0 );
- assert( pX->nZero==0 );
assert( pX->nKey<=0x7fffffff && pX->pKey!=0 );
nSrc = nPayload = (int)pX->nKey;
pSrc = pX->pKey;
diff --git a/src/vdbe.c b/src/vdbe.c
index 25b507f37..54df5c536 100644
--- a/src/vdbe.c
+++ b/src/vdbe.c
@@ -5059,9 +5059,6 @@ case OP_IdxInsert: { /* in2 */
}else{
x.nKey = pIn2->n;
x.pKey = pIn2->z;
- x.nData = 0;
- x.nZero = 0;
- x.pData = 0;
rc = sqlite3BtreeInsert(pC->uc.pCursor, &x, pOp->p3,
((pOp->p5 & OPFLAG_USESEEKRESULT) ? pC->seekResult : 0)
);