diff options
author | drh <> | 2025-07-08 17:28:09 +0000 |
---|---|---|
committer | drh <> | 2025-07-08 17:28:09 +0000 |
commit | 449b34571e9022333eb0cd0ce403a4636719194d (patch) | |
tree | 2270a946627b688956ea06fe228a21c7d4ce8e08 /src/select.c | |
parent | 8c8443a38a69eafee4ef930cbfc2c07da4b78628 (diff) | |
download | sqlite-449b34571e9022333eb0cd0ce403a4636719194d.tar.gz sqlite-449b34571e9022333eb0cd0ce403a4636719194d.zip |
Enable the EXISTS-to-JOIN optimization if the outer query has no
FROM clause.
FossilOrigin-Name: 1b9b124f9a35ebd1ac4ea70ef1ee08a4c82c11da690d4164f6b785a6fd9730d9
Diffstat (limited to 'src/select.c')
-rw-r--r-- | src/select.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/select.c b/src/select.c index b15300237..2dd8fc772 100644 --- a/src/select.c +++ b/src/select.c @@ -7432,7 +7432,6 @@ static SQLITE_NOINLINE void existsToJoin( ){ if( pWhere && !ExprHasProperty(pWhere, EP_OuterON|EP_InnerON) - && p->pSrc->nSrc>0 && p->pSrc->nSrc<BMS && pParse->db->mallocFailed==0 ){ |