summaryrefslogtreecommitdiff
path: root/db/update.cpp
diff options
context:
space:
mode:
authorAntonin Kral <a.kral@bobek.cz>2011-08-23 08:47:17 +0200
committerAntonin Kral <a.kral@bobek.cz>2011-08-23 08:47:17 +0200
commitcbe2d992e9cd1ea66af9fa91df006106775d3073 (patch)
treefca8e11a8ab7f063ae26802016068f9c814f6176 /db/update.cpp
parent64b33ee522375a8dc15be2875dfb7db4502259b0 (diff)
Imported Upstream version 1.8.3upstream/1.8.3
Diffstat (limited to 'db/update.cpp')
-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;
}