diff options
Diffstat (limited to 'src/mongo/db/commands/lock_info.cpp')
-rw-r--r-- | src/mongo/db/commands/lock_info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/lock_info.cpp b/src/mongo/db/commands/lock_info.cpp index 950533ae333..69dd15a6c0b 100644 --- a/src/mongo/db/commands/lock_info.cpp +++ b/src/mongo/db/commands/lock_info.cpp @@ -79,7 +79,7 @@ public: CmdLockInfo() : Command("lockInfo", true) {} - bool run(OperationContext* txn, + bool run(OperationContext* opCtx, const string& dbname, BSONObj& jsobj, int, @@ -87,7 +87,7 @@ public: BSONObjBuilder& result) { std::map<LockerId, BSONObj> lockToClientMap; - for (ServiceContext::LockedClientsCursor cursor(txn->getClient()->getServiceContext()); + for (ServiceContext::LockedClientsCursor cursor(opCtx->getClient()->getServiceContext()); Client* client = cursor.next();) { invariant(client); |