diff options
author | drh <> | 2022-03-03 19:40:21 +0000 |
---|---|---|
committer | drh <> | 2022-03-03 19:40:21 +0000 |
commit | 07559b2716a69bccee5ae823489ba4963d8db052 (patch) | |
tree | 9001ed45cf5f17e317152b56d5a3501628b4e459 /src/wherecode.c | |
parent | 4f122717808b6977ef541f04e4519f5af392118f (diff) | |
download | sqlite-07559b2716a69bccee5ae823489ba4963d8db052.tar.gz sqlite-07559b2716a69bccee5ae823489ba4963d8db052.zip |
Restore the ability to push-down OR subterms of the WHERE clause when
processing a multi-index OR.
FossilOrigin-Name: d71fb6fdc32d2fce73059b6ab86d7d7bbc812c637469755dd45b6794aadc3a80
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 ff82ffc1a..d1f0635e7 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -2365,7 +2365,7 @@ Bitmask sqlite3WhereCodeOneLoopStart( if( (pWC->a[iTerm].wtFlags & (TERM_VIRTUAL|TERM_CODED|TERM_SLICE))!=0 ){ continue; } - if( (pWC->a[iTerm].eOperator & WO_SINGLE)==0 ) continue; + if( (pWC->a[iTerm].eOperator & WO_ALL)==0 ) continue; if( ExprHasProperty(pExpr, EP_Subquery) ) continue; /* tag-20220303a */ pExpr = sqlite3ExprDup(db, pExpr, 0); pAndExpr = sqlite3ExprAnd(pParse, pAndExpr, pExpr); |