From e33a6c57607871f1b204bd5e1d8ea4a14ad06452 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Mon, 11 Aug 2014 14:12:42 -0400 Subject: SERVER-13951 WUOW now takes whole OperationContext, not just RecoveryUnit This will make it possible to implement two-phase locking. --- src/mongo/db/exec/delete.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/db/exec/delete.cpp') 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? -- cgit v1.2.1