mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#9150 fix nosync FALSE config
This commit is contained in:
parent
e2e17dd2f1
commit
9a8d7f305b
@ -717,7 +717,7 @@ mdb_cf_gen( ConfigArgs *c )
|
||||
if ( c->value_int )
|
||||
mdb->mi_dbenv_flags |= MDB_NOSYNC;
|
||||
else
|
||||
mdb->mi_dbenv_flags ^= MDB_NOSYNC;
|
||||
mdb->mi_dbenv_flags &= ~MDB_NOSYNC;
|
||||
if ( mdb->mi_flags & MDB_IS_OPEN ) {
|
||||
mdb_env_set_flags( mdb->mi_dbenv, MDB_NOSYNC,
|
||||
c->value_int );
|
||||
|
Loading…
Reference in New Issue
Block a user