diff options
Diffstat (limited to 'src/mongo/db/exec/and_hash.cpp')
-rw-r--r-- | src/mongo/db/exec/and_hash.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/exec/and_hash.cpp b/src/mongo/db/exec/and_hash.cpp index 6c913377c4f..d2666c905e6 100644 --- a/src/mongo/db/exec/and_hash.cpp +++ b/src/mongo/db/exec/and_hash.cpp @@ -55,16 +55,16 @@ const size_t AndHashStage::kLookAheadWorks = 10; // static const char* AndHashStage::kStageType = "AND_HASH"; -AndHashStage::AndHashStage(OperationContext* opCtx, WorkingSet* ws) - : PlanStage(kStageType, opCtx), +AndHashStage::AndHashStage(ExpressionContext* expCtx, WorkingSet* ws) + : PlanStage(kStageType, expCtx), _ws(ws), _hashingChildren(true), _currentChild(0), _memUsage(0), _maxMemUsage(kDefaultMaxMemUsageBytes) {} -AndHashStage::AndHashStage(OperationContext* opCtx, WorkingSet* ws, size_t maxMemUsage) - : PlanStage(kStageType, opCtx), +AndHashStage::AndHashStage(ExpressionContext* expCtx, WorkingSet* ws, size_t maxMemUsage) + : PlanStage(kStageType, expCtx), _ws(ws), _hashingChildren(true), _currentChild(0), |