diff --git a/src/db.cc b/src/db.cc
index e3a6659bb..a8741342c 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); }
 };