diff options
Diffstat (limited to 'src/mongo/db/exec/idhack.cpp')
-rw-r--r-- | src/mongo/db/exec/idhack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/idhack.cpp b/src/mongo/db/exec/idhack.cpp index 02e347dda4d..64848cb50e6 100644 --- a/src/mongo/db/exec/idhack.cpp +++ b/src/mongo/db/exec/idhack.cpp @@ -53,7 +53,7 @@ IDHackStage::IDHackStage(OperationContext* opCtx, CanonicalQuery* query, WorkingSet* ws, const IndexDescriptor* descriptor) - : RequiresIndexStage(kStageType, opCtx, descriptor), + : RequiresIndexStage(kStageType, opCtx, descriptor, ws), _workingSet(ws), _key(query->getQueryObj()["_id"].wrap()) { _specificStats.indexName = descriptor->indexName(); @@ -64,7 +64,7 @@ IDHackStage::IDHackStage(OperationContext* opCtx, const BSONObj& key, WorkingSet* ws, const IndexDescriptor* descriptor) - : RequiresIndexStage(kStageType, opCtx, descriptor), _workingSet(ws), _key(key) { + : RequiresIndexStage(kStageType, opCtx, descriptor, ws), _workingSet(ws), _key(key) { _specificStats.indexName = descriptor->indexName(); } |