diff options
Diffstat (limited to 'src/mongo/db/query/planner_analysis.cpp')
-rw-r--r-- | src/mongo/db/query/planner_analysis.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/query/planner_analysis.cpp b/src/mongo/db/query/planner_analysis.cpp index c5607b3bfa8..68767dd1cb9 100644 --- a/src/mongo/db/query/planner_analysis.cpp +++ b/src/mongo/db/query/planner_analysis.cpp @@ -546,8 +546,7 @@ namespace mongo { // Only these stages can produce flagged results. A stage has to hold state past one call // to work(...) in order to possibly flag a result. - bool couldProduceFlagged = hasNode(solnRoot, STAGE_GEO_2D) - || hasAndHashStage + bool couldProduceFlagged = hasAndHashStage || hasNode(solnRoot, STAGE_AND_SORTED) || hasNode(solnRoot, STAGE_FETCH); |