diff options
author | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2018-08-15 15:04:47 -0400 |
---|---|---|
committer | Nick Zolnierz <nicholas.zolnierz@mongodb.com> | 2018-08-21 10:32:03 -0400 |
commit | 14c53602360e9c223e70f97c2b08760df194f996 (patch) | |
tree | c777316dfa8aa7474d148e50a5cb0854e090f4b7 /src/mongo/db/pipeline/document_source_graph_lookup.cpp | |
parent | 8a38c643f39e8f6a7afcd888a85f09800e3de2a1 (diff) | |
download | mongo-14c53602360e9c223e70f97c2b08760df194f996.tar.gz |
SERVER-36667: Add ability to have a mixture of sharded and unsharded foreign namespaces in an aggregation
Diffstat (limited to 'src/mongo/db/pipeline/document_source_graph_lookup.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_graph_lookup.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/db/pipeline/document_source_graph_lookup.cpp b/src/mongo/db/pipeline/document_source_graph_lookup.cpp index cabdd753cae..f99153aa6cc 100644 --- a/src/mongo/db/pipeline/document_source_graph_lookup.cpp +++ b/src/mongo/db/pipeline/document_source_graph_lookup.cpp @@ -74,9 +74,8 @@ std::unique_ptr<LiteParsedDocumentSourceForeignCollections> DocumentSourceGraphL PrivilegeVector privileges{ Privilege(ResourcePattern::forExactNamespace(nss), ActionType::find)}; - constexpr bool allowedSharded = false; - return std::make_unique<LiteParsedDocumentSourceForeignCollections>( - std::move(nss), std::move(privileges), allowedSharded); + return std::make_unique<LiteParsedDocumentSourceForeignCollections>(std::move(nss), + std::move(privileges)); } REGISTER_DOCUMENT_SOURCE(graphLookup, |