summaryrefslogtreecommitdiff
path: root/db/dbhelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbhelpers.cpp')
-rw-r--r--db/dbhelpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dbhelpers.cpp b/db/dbhelpers.cpp
index 3079aad..5e49589 100644
--- a/db/dbhelpers.cpp
+++ b/db/dbhelpers.cpp
@@ -269,7 +269,7 @@ namespace mongo {
getDur().commitIfNeeded();
- if ( yield && ! cc->yieldSometimes() ) {
+ if ( yield && ! cc->yield() ) {
// cursor got finished by someone else, so we're done
cc.release(); // if the collection/db is dropped, cc may be deleted
break;