diff options
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? |