about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-24T13·35+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-24T13·35+0000
commit3b521bb1bd53479896de89e7a24938039f92aace (patch)
treefbf9b03dfa11dd7a74a2cade8c668bbe0ff8935d
parent1a7468a57a11288a007c40d50ed28718d757a546 (diff)
* Do sync the database, since not doing so caused database changes not
  to reach the disk at all.  Looks like a bug.

-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); }
 };