From: Howard Chu Date: Tue, 28 Jun 2011 07:15:40 +0000 (-0700) Subject: Use NOSYNC flag X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~186 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2de260fb37e384dfa21e9d1c7fb95e6e4ee3a89;p=openldap Use NOSYNC flag --- 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);