about summary refs log tree commit diff
path: root/src/db.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.cc')
-rw-r--r--src/db.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cc b/src/db.cc
index e3a6659bb426..a8741342ce92 100644
--- a/src/db.cc
+++ b/src/db.cc
@@ -12,7 +12,7 @@ class Db2 : public Db
 {
 public:
     Db2(DbEnv *env, u_int32_t flags) : Db(env, flags) { }
-    ~Db2() { close(DB_NOSYNC); }
+    ~Db2() { close(0); }
 };