diff options
author | Tyler Brock <tyler.brock@gmail.com> | 2014-06-30 15:08:13 -0400 |
---|---|---|
committer | Tyler Brock <tyler.brock@gmail.com> | 2014-06-30 15:08:13 -0400 |
commit | a353e16805d573af3d5ab4d32fbda87ec98d5c40 (patch) | |
tree | b380194417fd18d7ac24a138cf8a3f14f2535e0c /src/mongo/db/introspect.cpp | |
parent | e9a6e9365cf4d6d13b4a3f94aec1f433dab9f704 (diff) | |
download | mongo-a353e16805d573af3d5ab4d32fbda87ec98d5c40.tar.gz |
Revert "SERVER-13961 Add OperationContext argument to Client::Context"
This reverts commit e1f5a39b1b625d04752be13f39c774e579b64cd8.
Diffstat (limited to 'src/mongo/db/introspect.cpp')
-rw-r--r-- | src/mongo/db/introspect.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/introspect.cpp b/src/mongo/db/introspect.cpp index 87b74e6201a..667964aee1a 100644 --- a/src/mongo/db/introspect.cpp +++ b/src/mongo/db/introspect.cpp @@ -138,7 +138,8 @@ namespace { // we're sometimes inside the lock already Lock::DBWrite lk(txn->lockState(), currentOp.getNS() ); if (dbHolder().get(txn, nsToDatabase(currentOp.getNS())) != NULL) { - Client::Context cx(txn, currentOp.getNS(), false); + + Client::Context cx(currentOp.getNS(), false); _profile(txn, c, cx.db(), currentOp, profileBufBuilder); } else { |