mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
ITS#7391 more for ab04c50a32
This commit is contained in:
parent
867134d4ca
commit
3e47e825fd
@ -182,7 +182,7 @@ mdb_db_open( BackendDB *be, ConfigReply *cr )
|
||||
goto fail;
|
||||
}
|
||||
|
||||
rc = mdb_txn_begin( mdb->mi_dbenv, NULL, 0, &txn );
|
||||
rc = mdb_txn_begin( mdb->mi_dbenv, NULL, flags & MDB_RDONLY, &txn );
|
||||
if ( rc ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
LDAP_XSTRING(mdb_db_open) ": database \"%s\" cannot be opened, err %d. "
|
||||
|
Loading…
Reference in New Issue
Block a user