summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/sort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/sort.cpp')
-rw-r--r--src/mongo/db/exec/sort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/sort.cpp b/src/mongo/db/exec/sort.cpp
index d7075cfd09a..2816b9e4815 100644
--- a/src/mongo/db/exec/sort.cpp
+++ b/src/mongo/db/exec/sort.cpp
@@ -420,9 +420,9 @@ namespace mongo {
_child->prepareToYield();
}
- void SortStage::recoverFromYield() {
+ void SortStage::recoverFromYield(OperationContext* opCtx) {
++_commonStats.unyields;
- _child->recoverFromYield();
+ _child->recoverFromYield(opCtx);
}
void SortStage::invalidate(const DiskLoc& dl, InvalidationType type) {