summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/eof.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/exec/eof.cpp')
-rw-r--r--src/mongo/db/exec/eof.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/eof.cpp b/src/mongo/db/exec/eof.cpp
index c160f2a5ef7..f17084d7dae 100644
--- a/src/mongo/db/exec/eof.cpp
+++ b/src/mongo/db/exec/eof.cpp
@@ -50,11 +50,11 @@ namespace mongo {
return PlanStage::IS_EOF;
}
- void EOFStage::prepareToYield() {
+ void EOFStage::saveState() {
++_commonStats.yields;
}
- void EOFStage::recoverFromYield(OperationContext* opCtx) {
+ void EOFStage::restoreState(OperationContext* opCtx) {
++_commonStats.unyields;
}