summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/pipeline.cpp
diff options
context:
space:
mode:
authorKatherine Wu <katherine.wu@mongodb.com>2019-12-17 16:14:43 +0000
committerevergreen <evergreen@mongodb.com>2019-12-17 16:14:43 +0000
commitae6b595845dd9975af01774678d52e93043a0d27 (patch)
tree90316bac20fef1af2c3b7e07ba2ce3ef02008b4a /src/mongo/db/pipeline/pipeline.cpp
parente57438bd024d04f82dcbcbe68fe223b3f3aec838 (diff)
downloadmongo-ae6b595845dd9975af01774678d52e93043a0d27.tar.gz
SERVER-31072 reorder $limit before $lookup in pipeline if no $unwind is present
Diffstat (limited to 'src/mongo/db/pipeline/pipeline.cpp')
-rw-r--r--src/mongo/db/pipeline/pipeline.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/pipeline/pipeline.cpp b/src/mongo/db/pipeline/pipeline.cpp
index bbe003e036e..4990e916245 100644
--- a/src/mongo/db/pipeline/pipeline.cpp
+++ b/src/mongo/db/pipeline/pipeline.cpp
@@ -70,11 +70,6 @@ Value appendExecStats(Value docSource, const CommonStats& stats) {
}
} // namespace
-/**
- * Enabling the disablePipelineOptimization fail point will stop the aggregate command from
- * attempting to optimize the pipeline or the pipeline stages. Neither DocumentSource::optimizeAt()
- * nor DocumentSource::optimize() will be attempted.
- */
MONGO_FAIL_POINT_DEFINE(disablePipelineOptimization);
using boost::intrusive_ptr;