summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.cpp
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2015-05-18 13:51:30 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2015-05-18 13:51:30 -0400
commit7147e127644cba2bfa292945557b43664cc31f47 (patch)
treebcd10aa1950bd7be199de910f0891d9bf2b500f8 /src/mongo/db/dbhelpers.cpp
parentd5bf63455aa614d98ac840f09ce5ca6b813b9507 (diff)
downloadmongo-7147e127644cba2bfa292945557b43664cc31f47.tar.gz
Revert "SERVER-18515 Replace OperationContext::getCurOp with CurOp::get(OperationContext*)"
This reverts commit d5bf63455aa614d98ac840f09ce5ca6b813b9507.
Diffstat (limited to 'src/mongo/db/dbhelpers.cpp')
-rw-r--r--src/mongo/db/dbhelpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp
index fe7e0f53952..24be8b1f4f3 100644
--- a/src/mongo/db/dbhelpers.cpp
+++ b/src/mongo/db/dbhelpers.cpp
@@ -206,7 +206,7 @@ namespace mongo {
auto_ptr<PlanExecutor> exec(InternalPlanner::collectionScan(txn, ns, ctx.getCollection()));
PlanExecutor::ExecState state = exec->getNext(&result, NULL);
- CurOp::get(txn)->done();
+ txn->getCurOp()->done();
if (PlanExecutor::ADVANCED == state) {
result = result.getOwned();