diff options
author | Qingyang Chen <qingyang.chen@10gen.com> | 2015-08-03 12:17:47 -0400 |
---|---|---|
committer | Qingyang Chen <qingyang.chen@10gen.com> | 2015-08-04 16:12:30 -0400 |
commit | be8a683771004a2541c730a1ac0e35cd13e03a8b (patch) | |
tree | 20b31de1fea9f59011899b568771f069327f113f /src/mongo/db/exec/pipeline_proxy.h | |
parent | 84182ff1575cbe868a89e7209f12ca665f4bda19 (diff) | |
download | mongo-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.h | 5 |
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(). |