mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
ITS#7391 more for ab04c50a32
This commit is contained in:
parent
867134d4ca
commit
3e47e825fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue