Skip to content
Snippets Groups Projects
Commit 77a2304e authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#7416 make sure to reopen attr DBs after env reopen

parent 56843cf0
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment