diff options
author | Mathias Stearn <mathias@10gen.com> | 2011-01-06 17:25:46 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2011-01-10 13:58:15 -0500 |
commit | a593ed70dfd25d97d3fc1ab6fce244a9fc723b25 (patch) | |
tree | 1f00cda7fbbf06388f5db6a80dbf7da4bb3f9cb8 /db/dur.h | |
parent | 36254334704fb41ddeb8a2cae7a8b5ce792d4e87 (diff) | |
download | mongo-a593ed70dfd25d97d3fc1ab6fce244a9fc723b25.tar.gz |
TempDisableDurability now does SyncAndTruncate
Diffstat (limited to 'db/dur.h')
-rw-r--r-- | db/dur.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |