diff options
author | drh <drh@noemail.net> | 2018-06-07 17:32:59 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-06-07 17:32:59 +0000 |
commit | f1949b6634bb7bdf836cc0371917dec25edc9c85 (patch) | |
tree | 4cc1bd0e6088be3911a4171c06d39a08926bccd2 /src/wherecode.c | |
parent | 056f5396fef186c23f654b06872c9f478d530016 (diff) | |
download | sqlite-f1949b6634bb7bdf836cc0371917dec25edc9c85.tar.gz sqlite-f1949b6634bb7bdf836cc0371917dec25edc9c85.zip |
Remove the NextIfOpen and PrevIfOpen opcodes which are no longer needed
when the IN-early-out optimization is working.
FossilOrigin-Name: 439c8162272795b422a0e01b01b832fbc12b39914c9632a674162af8bdecff98
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index 32378381e..67f5e3073 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -591,7 +591,7 @@ static int codeEqualityTerm( sqlite3VdbeAddOp1(v, OP_IsNull, iOut); VdbeCoverage(v); if( i==iEq ){ pIn->iCur = iTab; - pIn->eEndLoopOp = bRev ? OP_PrevIfOpen : OP_NextIfOpen; + pIn->eEndLoopOp = bRev ? OP_Prev : OP_Next; if( iEq>0 && (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 ){ pIn->iBase = iReg - i; pIn->nPrefix = i; |