summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/oplogstarttests.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-08-11 14:12:42 -0400
committerMathias Stearn <mathias@10gen.com>2014-08-13 17:30:25 -0400
commite33a6c57607871f1b204bd5e1d8ea4a14ad06452 (patch)
treed82f31fde82fbb43cb4e2c5ff3aa12044c8af199 /src/mongo/dbtests/oplogstarttests.cpp
parent00913e47de5aced5267e44e82ac9e976bbaac089 (diff)
downloadmongo-e33a6c57607871f1b204bd5e1d8ea4a14ad06452.tar.gz
SERVER-13951 WUOW now takes whole OperationContext, not just RecoveryUnit
This will make it possible to implement two-phase locking.
Diffstat (limited to 'src/mongo/dbtests/oplogstarttests.cpp')
-rw-r--r--src/mongo/dbtests/oplogstarttests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/oplogstarttests.cpp b/src/mongo/dbtests/oplogstarttests.cpp
index d23a85456a1..f2d42598895 100644
--- a/src/mongo/dbtests/oplogstarttests.cpp
+++ b/src/mongo/dbtests/oplogstarttests.cpp
@@ -36,7 +36,7 @@ namespace OplogStartTests {
class Base {
public:
Base() : _lk(_txn.lockState()),
- _wunit(_txn.recoveryUnit()),
+ _wunit(&_txn),
_context(&_txn, ns()),
_client(&_txn) {