summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/apply_ops.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-06-13 15:35:51 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2014-06-27 22:54:43 -0400
commit52edab726185cbba1401cb46de221fb3d1cb0408 (patch)
tree165f9e8fded43db1dac6ab9a1c46cc2367362e5b /src/mongo/db/commands/apply_ops.cpp
parentecfc44d7bce08660804fa4475b45f9a09d203f09 (diff)
downloadmongo-52edab726185cbba1401cb46de221fb3d1cb0408.tar.gz
SERVER-13961 Add OperationContext argument to Client::Context
Time tracking and database access in Client::Context require access to the OperationContext. Adding it as argument. This is in preparation for removing LockState from Client.
Diffstat (limited to 'src/mongo/db/commands/apply_ops.cpp')
-rw-r--r--src/mongo/db/commands/apply_ops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/apply_ops.cpp b/src/mongo/db/commands/apply_ops.cpp
index 88c8c66f484..b3fa1b6ce2e 100644
--- a/src/mongo/db/commands/apply_ops.cpp
+++ b/src/mongo/db/commands/apply_ops.cpp
@@ -133,7 +133,7 @@ namespace mongo {
Lock::DBWrite lk(txn->lockState(), ns);
invariant(txn->lockState()->isRecursive());
- Client::Context ctx(ns);
+ Client::Context ctx(txn, ns);
bool failed = repl::applyOperation_inlock(txn,
ctx.db(),
temp,