summaryrefslogtreecommitdiff
path: root/src/mongo/db/range_deleter_db_env.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert.bosch@mongodb.com>2014-05-30 10:37:57 -0400
committerGeert Bosch <geert.bosch@mongodb.com>2014-05-30 15:18:25 -0400
commit38ff08a613439b254e66d2cc2a040270986445a8 (patch)
treef7d11c1b512e6b2792d94c35006bb2c336b44bee /src/mongo/db/range_deleter_db_env.cpp
parentb2a2935d63a7b8b2161acce8e1a7fbb178e0b717 (diff)
downloadmongo-38ff08a613439b254e66d2cc2a040270986445a8.tar.gz
SERVER-14062 Move most non-global curop access through OperationContext
Diffstat (limited to 'src/mongo/db/range_deleter_db_env.cpp')
-rw-r--r--src/mongo/db/range_deleter_db_env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/range_deleter_db_env.cpp b/src/mongo/db/range_deleter_db_env.cpp
index 0088b66ffe3..03ca57814df 100644
--- a/src/mongo/db/range_deleter_db_env.cpp
+++ b/src/mongo/db/range_deleter_db_env.cpp
@@ -72,7 +72,7 @@ namespace mongo {
Helpers::RemoveSaver removeSaver("moveChunk", ns.toString(), "post-cleanup");
// log the opId so the user can use it to cancel the delete using killOp.
- unsigned int opId = cc().curop()->opNum();
+ unsigned int opId = txn->getCurOp()->opNum();
log() << "Deleter starting delete for: " << ns
<< " from " << inclusiveLower
<< " -> " << exclusiveUpper