From 3b521bb1bd53479896de89e7a24938039f92aace Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 Jul 2003 13:35:17 +0000 Subject: [PATCH] * Do sync the database, since not doing so caused database changes not to reach the disk at all. Looks like a bug. --- src/db.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } };