summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/pipeline_command.cpp
diff options
context:
space:
mode:
authorJames Wahlin <james.wahlin@10gen.com>2017-01-24 16:48:31 -0500
committerJames Wahlin <james.wahlin@10gen.com>2017-02-03 08:26:50 -0500
commit529adf30a88770c44b8dea31323f114975dfd78b (patch)
treedc18ec945b950a410d7e9d235b3de67587af6d34 /src/mongo/db/commands/pipeline_command.cpp
parent47da0b53f9cd27aeec1d2822780784866269a47d (diff)
downloadmongo-529adf30a88770c44b8dea31323f114975dfd78b.tar.gz
SERVER-27848 Add index hint to aggregation and non-materialized views
Diffstat (limited to 'src/mongo/db/commands/pipeline_command.cpp')
-rw-r--r--src/mongo/db/commands/pipeline_command.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/pipeline_command.cpp b/src/mongo/db/commands/pipeline_command.cpp
index d548d9523ca..c34ee28a72c 100644
--- a/src/mongo/db/commands/pipeline_command.cpp
+++ b/src/mongo/db/commands/pipeline_command.cpp
@@ -482,7 +482,7 @@ public:
// This does mongod-specific stuff like creating the input PlanExecutor and adding
// it to the front of the pipeline if needed.
- PipelineD::prepareCursorSource(collection, pipeline);
+ PipelineD::prepareCursorSource(collection, &request, pipeline);
// Create the PlanExecutor which returns results from the pipeline. The WorkingSet
// ('ws') and the PipelineProxyStage ('proxy') will be owned by the created