summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/and_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/and_hash.h')
-rw-r--r--src/mongo/db/exec/and_hash.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/exec/and_hash.h b/src/mongo/db/exec/and_hash.h
index 9f42f93d5e1..8f888fb17ab 100644
--- a/src/mongo/db/exec/and_hash.h
+++ b/src/mongo/db/exec/and_hash.h
@@ -51,12 +51,15 @@ namespace mongo {
*/
class AndHashStage final : public PlanStage {
public:
- AndHashStage(WorkingSet* ws, const Collection* collection);
+ AndHashStage(OperationContext* opCtx, WorkingSet* ws, const Collection* collection);
/**
* For testing only. Allows tests to set memory usage threshold.
*/
- AndHashStage(WorkingSet* ws, const Collection* collection, size_t maxMemUsage);
+ AndHashStage(OperationContext* opCtx,
+ WorkingSet* ws,
+ const Collection* collection,
+ size_t maxMemUsage);
void addChild(PlanStage* child);