1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Transfer large index or WITHOUT ROWID records between b-trees when vacuuming without loading them into memory.

FossilOrigin-Name: dfd4ca6891a893d0e9551689954d3e79114d5565f8a5264f96ad1d64fe1d6280
This commit is contained in:
dan
2020-12-09 20:33:51 +00:00
parent ebbf36878c
commit cd1b2d0b54
6 changed files with 35 additions and 27 deletions

View File

@@ -5158,7 +5158,7 @@ case OP_Transfer: {
pDest = p->apCsr[pOp->p1];
pSrc = p->apCsr[pOp->p2];
iKey = aMem[pOp->p3].u.i;
iKey = pOp->p3 ? aMem[pOp->p3].u.i : 0;
rc = sqlite3BtreeTransfer(
pDest->uc.pCursor, pSrc->uc.pCursor, iKey, pDest->seekResult