diff options
Diffstat (limited to 'src/mongo/db/pipeline/process_interface_standalone.cpp')
-rw-r--r-- | src/mongo/db/pipeline/process_interface_standalone.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/process_interface_standalone.cpp b/src/mongo/db/pipeline/process_interface_standalone.cpp index db3d4c9f08e..58237a83689 100644 --- a/src/mongo/db/pipeline/process_interface_standalone.cpp +++ b/src/mongo/db/pipeline/process_interface_standalone.cpp @@ -384,7 +384,8 @@ unique_ptr<Pipeline, PipelineDeleter> MongoInterfaceStandalone::attachCursorSour Date_t::max(), AutoStatsTracker::LogMode::kUpdateTop); - PipelineD::prepareCursorSource(autoColl->getCollection(), expCtx->ns, nullptr, pipeline.get()); + PipelineD::buildAndAttachInnerQueryExecutorToPipeline( + autoColl->getCollection(), expCtx->ns, nullptr, pipeline.get()); // Optimize again, since there may be additional optimizations that can be done after adding // the initial cursor stage. |