summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-09-30 10:57:02 -0400
committerDavid Storch <david.storch@10gen.com>2014-10-02 19:36:18 -0400
commit53155bb8e0df7b3ef0742eae6edea0d91a046361 (patch)
tree9046ba207ec175f25d58947979d0132dcee27a1f /src/mongo/db/pipeline
parentc9ae1354004e5767c45160b4efa7ad77d0185c0d (diff)
downloadmongo-53155bb8e0df7b3ef0742eae6edea0d91a046361.tar.gz
SERVER-15019 propagate kill and invalidate for agg cursors to the nested PlanExecutor
Diffstat (limited to 'src/mongo/db/pipeline')
-rw-r--r--src/mongo/db/pipeline/pipeline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/pipeline.h b/src/mongo/db/pipeline/pipeline.h
index 297d73874f9..b5fbfab3196 100644
--- a/src/mongo/db/pipeline/pipeline.h
+++ b/src/mongo/db/pipeline/pipeline.h
@@ -67,7 +67,7 @@ namespace mongo {
BSONObj cmdObj,
std::vector<Privilege>* out);
- intrusive_ptr<ExpressionContext> getContext() const { return pCtx; }
+ const intrusive_ptr<ExpressionContext>& getContext() const { return pCtx; }
/**
Split the current Pipeline into a Pipeline for each shard, and