mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Use NOSYNC flag
This commit is contained in:
parent
0c2610ebdd
commit
a2de260fb3
@ -25,7 +25,7 @@ int main(int argc,char * argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
rc = mdbenv_create(&env, 10485760);
|
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_txn_begin(env, 0, &txn);
|
||||||
rc = mdb_open(env, txn, NULL, 0, &db);
|
rc = mdb_open(env, txn, NULL, 0, &db);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user