mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
ITS#7416 make sure to reopen attr DBs after env reopen
This commit is contained in:
parent
1b393b7421
commit
970e7f8199
1 changed files with 3 additions and 1 deletions
|
|
@ -162,8 +162,10 @@ mdb_attr_dbs_close(
|
|||
{
|
||||
int i;
|
||||
for ( i=0; i<mdb->mi_nattrs; i++ )
|
||||
if ( mdb->mi_attrs[i]->ai_dbi )
|
||||
if ( mdb->mi_attrs[i]->ai_dbi ) {
|
||||
mdb_close( mdb->mi_dbenv, mdb->mi_attrs[i]->ai_dbi );
|
||||
mdb->mi_attrs[i]->ai_dbi = 0;
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue