summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/classic_plan_cache.cpp
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@mongodb.com>2023-02-07 00:58:25 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-02-07 02:32:02 +0000
commitb185d04364c298e701943a1e800c4036ce8df6e7 (patch)
tree6a91575c0096863e38b1b0fd12d1bfd90d55ac7f /src/mongo/db/query/classic_plan_cache.cpp
parent967a6745ba487edaff558e36fdc572c6ca066fea (diff)
downloadmongo-b185d04364c298e701943a1e800c4036ce8df6e7.tar.gz
SERVER-71798 Expand the set of queries eligible for SBE in the 6.3 release
Diffstat (limited to 'src/mongo/db/query/classic_plan_cache.cpp')
-rw-r--r--src/mongo/db/query/classic_plan_cache.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/query/classic_plan_cache.cpp b/src/mongo/db/query/classic_plan_cache.cpp
index 7789d894cb5..41874a76d8a 100644
--- a/src/mongo/db/query/classic_plan_cache.cpp
+++ b/src/mongo/db/query/classic_plan_cache.cpp
@@ -130,8 +130,7 @@ bool shouldCacheQuery(const CanonicalQuery& query) {
const MatchExpression* expr = query.root();
if (!query.getSortPattern() && expr->matchType() == MatchExpression::AND &&
- expr->numChildren() == 0 &&
- !(feature_flags::gFeatureFlagSbeFull.isEnabledAndIgnoreFCV() && query.isSbeCompatible())) {
+ expr->numChildren() == 0 && !query.isSbeCompatible()) {
return false;
}