summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/pipeline_d.h
diff options
context:
space:
mode:
authorBenjamin Murphy <benjamin_murphy@me.com>2016-01-27 16:42:04 -0500
committerBenjamin Murphy <benjamin_murphy@me.com>2016-02-08 12:53:48 -0500
commitc3a232ef38480f317cd42cc00755fd9032c107d2 (patch)
treebb664b92f2ffcf1b6c9c1dab0ad483404ac7d813 /src/mongo/db/pipeline/pipeline_d.h
parenta1a4f91a9c70b3f9f58f2922c260f1df97418e2c (diff)
downloadmongo-c3a232ef38480f317cd42cc00755fd9032c107d2.tar.gz
SERVER-19643 Aggregation directly from a shard does not use sharding filter.
Diffstat (limited to 'src/mongo/db/pipeline/pipeline_d.h')
-rw-r--r--src/mongo/db/pipeline/pipeline_d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/pipeline_d.h b/src/mongo/db/pipeline/pipeline_d.h
index a9993c6331b..95a08719b41 100644
--- a/src/mongo/db/pipeline/pipeline_d.h
+++ b/src/mongo/db/pipeline/pipeline_d.h
@@ -32,6 +32,7 @@
#include <memory>
#include "mongo/bson/bsonobj.h"
+#include "mongo/db/namespace_string.h"
namespace mongo {
class Collection;
@@ -79,6 +80,7 @@ public:
static std::shared_ptr<PlanExecutor> prepareCursorSource(
OperationContext* txn,
Collection* collection,
+ const NamespaceString& nss,
const boost::intrusive_ptr<Pipeline>& pPipeline,
const boost::intrusive_ptr<ExpressionContext>& pExpCtx);
@@ -97,6 +99,7 @@ private:
static std::shared_ptr<PlanExecutor> prepareExecutor(
OperationContext* txn,
Collection* collection,
+ const NamespaceString& nss,
const boost::intrusive_ptr<Pipeline>& pipeline,
const boost::intrusive_ptr<ExpressionContext>& expCtx,
const boost::intrusive_ptr<DocumentSourceSort>& sortStage,