summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_yield.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2015-05-15 11:45:07 -0400
committerGeert Bosch <geert@mongodb.com>2015-05-15 19:57:16 -0400
commit44018783d2d0476ab7db9708ee98e14a2dd35f4e (patch)
tree2fe75bfba9865f784f8427f85d3a401972f03814 /src/mongo/db/query/query_yield.cpp
parentb9a9539e6f39416fc9cc24bdcdc66092d801d52f (diff)
downloadmongo-44018783d2d0476ab7db9708ee98e14a2dd35f4e.tar.gz
SERVER-18171: Rename commitAndRestart to abandonSnapshot
Diffstat (limited to 'src/mongo/db/query/query_yield.cpp')
-rw-r--r--src/mongo/db/query/query_yield.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_yield.cpp b/src/mongo/db/query/query_yield.cpp
index 9fba99a9ac1..5d6994d7eb6 100644
--- a/src/mongo/db/query/query_yield.cpp
+++ b/src/mongo/db/query/query_yield.cpp
@@ -60,7 +60,7 @@ namespace mongo {
// Top-level locks are freed, release any potential low-level (storage engine-specific
// locks). If we are yielding, we are at a safe place to do so.
- txn->recoveryUnit()->commitAndRestart();
+ txn->recoveryUnit()->abandonSnapshot();
// Track the number of yields in CurOp.
txn->getCurOp()->yielded();