diff options
Diffstat (limited to 'src/mongo/db/query/sbe_utils.cpp')
| -rw-r--r-- | src/mongo/db/query/sbe_utils.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/query/sbe_utils.cpp b/src/mongo/db/query/sbe_utils.cpp index 7f327848fc7..695b2904562 100644 --- a/src/mongo/db/query/sbe_utils.cpp +++ b/src/mongo/db/query/sbe_utils.cpp @@ -62,11 +62,9 @@ bool isQuerySbeCompatible(const CollectionPtr* collection, const bool doesNotHaveElemMatchProject = !cq->getProj() || !cq->getProj()->containsElemMatch(); - const bool isNotInnerSideOfLookup = !(expCtx && expCtx->inLookup); - return allExpressionsSupported && isNotCount && doesNotContainMetadataRequirements && isQueryNotAgainstTimeseriesCollection && isQueryNotAgainstClusteredCollection && doesNotSortOnMetaOrPathWithNumericComponents && isNotOplog && doesNotRequireMatchDetails && - doesNotHaveElemMatchProject && isNotInnerSideOfLookup; + doesNotHaveElemMatchProject; } } // namespace mongo::sbe |
