summaryrefslogtreecommitdiff
path: root/db/dur.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2011-01-06 17:25:46 -0500
committerMathias Stearn <mathias@10gen.com>2011-01-10 13:58:15 -0500
commita593ed70dfd25d97d3fc1ab6fce244a9fc723b25 (patch)
tree1f00cda7fbbf06388f5db6a80dbf7da4bb3f9cb8 /db/dur.h
parent36254334704fb41ddeb8a2cae7a8b5ce792d4e87 (diff)
downloadmongo-a593ed70dfd25d97d3fc1ab6fce244a9fc723b25.tar.gz
TempDisableDurability now does SyncAndTruncate
Diffstat (limited to 'db/dur.h')
-rw-r--r--db/dur.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/dur.h b/db/dur.h
index 11a1fb0b188..11634202544 100644
--- a/db/dur.h
+++ b/db/dur.h
@@ -19,7 +19,7 @@ namespace mongo {
class TempDisableDurability : boost::noncopyable {
public:
- TempDisableDurability(); // disables durability iff it is enabled
+ TempDisableDurability(); // disables durability and SyncAndTruncate iff it is enabled
~TempDisableDurability(); // enables durability iff constructor disabled it
private:
const bool _wasDur;