1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Add tests for fts3 and onepass update/delete operations. Also fix a problem with onepass updates that do not affect any rows.

FossilOrigin-Name: 820c804468abff692742952de670c5d906a50956
This commit is contained in:
dan
2015-09-29 10:11:26 +00:00
parent 0f40037eee
commit 354474ad6d
6 changed files with 169 additions and 19 deletions

View File

@@ -700,8 +700,8 @@ Bitmask sqlite3WhereCodeOneLoopStart(
disableTerm(pLevel, pLoop->aLTerm[j]);
}
}
pLevel->op = OP_VNext;
pLevel->p1 = iCur;
pLevel->op = pWInfo->eOnePass ? OP_Noop : OP_VNext;
pLevel->p2 = sqlite3VdbeCurrentAddr(v);
sqlite3ReleaseTempRange(pParse, iReg, nConstraint+2);
sqlite3ExprCachePop(pParse);