summaryrefslogtreecommitdiff
path: root/pch.h
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-09-13 08:31:28 -0400
committerdwight <dwight@10gen.com>2010-09-13 08:31:28 -0400
commitd48a16161eac5f462e4e0b453dc9bdd9c5683070 (patch)
tree729e30a51102b4ff12f4ca9434105597d4805e2c /pch.h
parentc7417ff16ccfaffe40564c16973bb30c7b054cd0 (diff)
downloadmongo-d48a16161eac5f462e4e0b453dc9bdd9c5683070.tar.gz
for testing
Diffstat (limited to 'pch.h')
-rw-r--r--pch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pch.h b/pch.h
index a6b4b63c0b7..f2c623fd883 100644
--- a/pch.h
+++ b/pch.h
@@ -93,6 +93,14 @@
namespace mongo {
+ /* this likely goes away later. to facilitate testing for a while without impacting other things. */
+#if defined(_DURABLE)
+ const bool durable = true;
+#error don't use this yet
+#else
+ const bool durable = false;
+#endif
+
using namespace std;
using boost::shared_ptr;