diff options
author | David Storch <david.storch@10gen.com> | 2014-09-30 10:57:02 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2014-10-02 19:36:18 -0400 |
commit | 53155bb8e0df7b3ef0742eae6edea0d91a046361 (patch) | |
tree | 9046ba207ec175f25d58947979d0132dcee27a1f /src/mongo/db/pipeline | |
parent | c9ae1354004e5767c45160b4efa7ad77d0185c0d (diff) | |
download | mongo-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.h | 2 |
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 |