summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-08-04 10:12:33 -0400
committerEliot Horowitz <eliot@10gen.com>2011-08-04 10:12:33 -0400
commitfba78d46345423318b9eb08bcc51c733e6dc0c5e (patch)
tree64e9355d5651d2d8b4c5223e717479f9711522d8
parent4b882e7b94c3d92e139a02dc8d104c30deb33b67 (diff)
downloadmongo-fba78d46345423318b9eb08bcc51c733e6dc0c5e.tar.gz
backport of SERVER-3447
-rw-r--r--db/update.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/update.cpp b/db/update.cpp
index e53f2af7fe4..8dc6c857c6b 100644
--- a/db/update.cpp
+++ b/db/update.cpp
@@ -1225,8 +1225,7 @@ namespace mongo {
}
}
- if (atomic)
- getDur().commitIfNeeded();
+ getDur().commitIfNeeded();
continue;
}