summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/pipeline_proxy.h
diff options
context:
space:
mode:
authorQingyang Chen <qingyang.chen@10gen.com>2015-08-03 12:17:47 -0400
committerQingyang Chen <qingyang.chen@10gen.com>2015-08-04 16:12:30 -0400
commitbe8a683771004a2541c730a1ac0e35cd13e03a8b (patch)
tree20b31de1fea9f59011899b568771f069327f113f /src/mongo/db/exec/pipeline_proxy.h
parent84182ff1575cbe868a89e7209f12ca665f4bda19 (diff)
downloadmongo-be8a683771004a2541c730a1ac0e35cd13e03a8b.tar.gz
SERVER-19364 move query stage OperationContext pointer management into the base class
Diffstat (limited to 'src/mongo/db/exec/pipeline_proxy.h')
-rw-r--r--src/mongo/db/exec/pipeline_proxy.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/exec/pipeline_proxy.h b/src/mongo/db/exec/pipeline_proxy.h
index a67d993d4a3..6c85f117470 100644
--- a/src/mongo/db/exec/pipeline_proxy.h
+++ b/src/mongo/db/exec/pipeline_proxy.h
@@ -44,7 +44,8 @@ namespace mongo {
*/
class PipelineProxyStage final : public PlanStage {
public:
- PipelineProxyStage(boost::intrusive_ptr<Pipeline> pipeline,
+ PipelineProxyStage(OperationContext* opCtx,
+ boost::intrusive_ptr<Pipeline> pipeline,
const std::shared_ptr<PlanExecutor>& child,
WorkingSet* ws);
@@ -58,7 +59,7 @@ public:
// Manage our OperationContext.
//
void doDetachFromOperationContext() final;
- void doReattachToOperationContext(OperationContext* opCtx) final;
+ void doReattachToOperationContext() final;
/**
* Make obj the next object returned by getNext().