* Do sync the database, since not doing so caused database changes not
to reach the disk at all. Looks like a bug.
This commit is contained in:
parent
1a7468a57a
commit
3b521bb1bd
1 changed files with 1 additions and 1 deletions
|
@ -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); }
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue