From a2de260fb37e384dfa21e9d1c7fb95e6e4ee3a89 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 28 Jun 2011 00:15:40 -0700 Subject: [PATCH] Use NOSYNC flag --- libraries/libmdb/mtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmdb/mtest.c b/libraries/libmdb/mtest.c index bc3df268c9..f99beb82a0 100644 --- a/libraries/libmdb/mtest.c +++ b/libraries/libmdb/mtest.c @@ -25,7 +25,7 @@ int main(int argc,char * argv[]) } rc = mdbenv_create(&env, 10485760); - rc = mdbenv_open(env, "./testdb", MDB_FIXEDMAP, 0664); + rc = mdbenv_open(env, "./testdb", MDB_FIXEDMAP|MDB_NOSYNC, 0664); rc = mdb_txn_begin(env, 0, &txn); rc = mdb_open(env, txn, NULL, 0, &db); -- 2.39.5