diff options
author | Mathias Stearn <mathias@10gen.com> | 2014-08-11 14:12:42 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2014-08-13 17:30:25 -0400 |
commit | e33a6c57607871f1b204bd5e1d8ea4a14ad06452 (patch) | |
tree | d82f31fde82fbb43cb4e2c5ff3aa12044c8af199 /src/mongo/db/exec/delete.cpp | |
parent | 00913e47de5aced5267e44e82ac9e976bbaac089 (diff) | |
download | mongo-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/db/exec/delete.cpp')
-rw-r--r-- | src/mongo/db/exec/delete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/delete.cpp b/src/mongo/db/exec/delete.cpp index fda4b8ba779..19de5a7a742 100644 --- a/src/mongo/db/exec/delete.cpp +++ b/src/mongo/db/exec/delete.cpp @@ -91,7 +91,7 @@ namespace mongo { BSONObj deletedDoc; - WriteUnitOfWork wunit(_txn->recoveryUnit()); + WriteUnitOfWork wunit(_txn); // TODO: Do we want to buffer docs and delete them in a group rather than // saving/restoring state repeatedly? |