diff options
Diffstat (limited to 'src/mongo/db/exec/sort.cpp')
-rw-r--r-- | src/mongo/db/exec/sort.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/sort.cpp b/src/mongo/db/exec/sort.cpp index 2fd40f0efb2..bd2cc27e14f 100644 --- a/src/mongo/db/exec/sort.cpp +++ b/src/mongo/db/exec/sort.cpp @@ -193,7 +193,7 @@ PlanStage::StageState SortStage::doWork(WorkingSetID* out) { return PlanStage::ADVANCED; } -void SortStage::doInvalidate(OperationContext* txn, const RecordId& dl, InvalidationType type) { +void SortStage::doInvalidate(OperationContext* opCtx, const RecordId& dl, InvalidationType type) { // If we have a deletion, we can fetch and carry on. // If we have a mutation, it's easier to fetch and use the previous document. // So, no matter what, fetch and keep the doc in play. @@ -209,7 +209,7 @@ void SortStage::doInvalidate(OperationContext* txn, const RecordId& dl, Invalida WorkingSetMember* member = _ws->get(it->second); verify(member->recordId == dl); - WorkingSetCommon::fetchAndInvalidateRecordId(txn, member, _collection); + WorkingSetCommon::fetchAndInvalidateRecordId(opCtx, member, _collection); // Remove the RecordId from our set of active DLs. _wsidByRecordId.erase(it); |