diff options
author | drh <> | 2022-12-20 14:02:35 +0000 |
---|---|---|
committer | drh <> | 2022-12-20 14:02:35 +0000 |
commit | 1379b9f51a933f6390e147d852eb02bac9970f16 (patch) | |
tree | a4681149aec5335da48ba42c7347fc861e745b27 /src/where.c | |
parent | 98164c3452eed2ce879e98c10669a239ab4f081e (diff) | |
download | sqlite-1379b9f51a933f6390e147d852eb02bac9970f16.tar.gz sqlite-1379b9f51a933f6390e147d852eb02bac9970f16.zip |
Improvement to the dbsqlfuzz fix of [f113eebdbe68246f].
FossilOrigin-Name: 79d62956f206cb2987891d4ba5985cece21fc8c8c1158f46c2951f65c0dcf4e8
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/where.c b/src/where.c index 1df7673ae..d3e04808f 100644 --- a/src/where.c +++ b/src/where.c @@ -6240,10 +6240,7 @@ WhereInfo *sqlite3WhereBegin( op = OP_ReopenIdx; }else{ iIndexCur = pParse->nTab++; - if( pIx->bHasExpr - && OptimizationEnabled(db, SQLITE_IndexedExpr) - && (pTabItem->fg.jointype & (JT_LTORJ|JT_RIGHT))==0 - ){ + if( pIx->bHasExpr && OptimizationEnabled(db, SQLITE_IndexedExpr) ){ whereAddIndexedExpr(pParse, pIx, iIndexCur, pTabItem); } } |