aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-01-04 19:19:54 +0000
committerdrh <drh@noemail.net>2020-01-04 19:19:54 +0000
commit0ad4f792a9ad661021fbca0c845711675dba1fcb (patch)
tree8e99b1c8ec82cb0d02ba36bd3596621ac7b08ca2 /src/wherecode.c
parentaf232366605cb2a6ef192c58daf3a99d2ecb4ff2 (diff)
parent2e5beddb34c20868fb45ff5e3bbb6fb9e603042c (diff)
downloadsqlite-0ad4f792a9ad661021fbca0c845711675dba1fcb.tar.gz
sqlite-0ad4f792a9ad661021fbca0c845711675dba1fcb.zip
Merge all fixes and enhancements from trunk.
FossilOrigin-Name: b878c30f03e895bbc5c4c99c0f727d49093bb78bdc275593cf4852148579ae69
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index beb23e0c1..03e393498 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -593,7 +593,7 @@ static int codeEqualityTerm(
if( i==iEq ){
pIn->iCur = iTab;
pIn->eEndLoopOp = bRev ? OP_Prev : OP_Next;
- if( iEq>0 && (pLoop->wsFlags & WHERE_VIRTUALTABLE)==0 ){
+ if( iEq>0 ){
pIn->iBase = iReg - i;
pIn->nPrefix = i;
pLoop->wsFlags |= WHERE_IN_EARLYOUT;