diff options
author | James Wahlin <james@mongodb.com> | 2018-11-27 13:28:27 -0500 |
---|---|---|
committer | James Wahlin <james@mongodb.com> | 2018-12-12 14:41:24 -0500 |
commit | 056d61676f91f6da0a030347ae4b92255d752d8f (patch) | |
tree | 92f5b2d319ce1cd5701be912e6b96cf9a6fdaa4b /src/mongo/db/pipeline/document_source_graph_lookup.cpp | |
parent | d2573d47786b035d5bcdeaf30207bbfcd58bf14e (diff) | |
download | mongo-056d61676f91f6da0a030347ae4b92255d752d8f.tar.gz |
SERVER-32308 Support for $lookup to execute on mongos against a sharded foreign collection
Diffstat (limited to 'src/mongo/db/pipeline/document_source_graph_lookup.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_graph_lookup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_graph_lookup.cpp b/src/mongo/db/pipeline/document_source_graph_lookup.cpp index d93535dc030..1b6583bb655 100644 --- a/src/mongo/db/pipeline/document_source_graph_lookup.cpp +++ b/src/mongo/db/pipeline/document_source_graph_lookup.cpp @@ -207,8 +207,8 @@ void DocumentSourceGraphLookUp::doBreadthFirstSearch() { // We've already allocated space for the trailing $match stage in '_fromPipeline'. _fromPipeline.back() = *matchStage; - auto pipeline = uassertStatusOK( - pExpCtx->mongoProcessInterface->makePipeline(_fromPipeline, _fromExpCtx)); + auto pipeline = + pExpCtx->mongoProcessInterface->makePipeline(_fromPipeline, _fromExpCtx); while (auto next = pipeline->getNext()) { uassert(40271, str::stream() |