diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-24T13·35+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-24T13·35+0000 |
commit | 3b521bb1bd53479896de89e7a24938039f92aace (patch) | |
tree | fbf9b03dfa11dd7a74a2cade8c668bbe0ff8935d /src/db.cc | |
parent | 1a7468a57a11288a007c40d50ed28718d757a546 (diff) |
* Do sync the database, since not doing so caused database changes not
to reach the disk at all. Looks like a bug.
Diffstat (limited to 'src/db.cc')
-rw-r--r-- | src/db.cc | 2 |
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); } }; |