mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
More unifdef -DSLAP_CLEANUP
This commit is contained in:
parent
e1630c79cd
commit
e8af46f2a7
1 changed files with 0 additions and 2 deletions
|
|
@ -169,7 +169,6 @@ ldbm_cache_flush_all( Backend *be )
|
|||
Debug( LDAP_DEBUG_TRACE, "ldbm flushing db (%s)\n",
|
||||
li->li_dbcache[i].dbc_name, 0, 0 );
|
||||
ldbm_sync( li->li_dbcache[i].dbc_db );
|
||||
#ifdef SLAP_CLEANUP
|
||||
if ( li->li_dbcache[i].dbc_refcnt != 0 ) {
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"refcnt = %d, couldn't close db (%s)\n",
|
||||
|
|
@ -184,7 +183,6 @@ ldbm_cache_flush_all( Backend *be )
|
|||
free( li->li_dbcache[i].dbc_name );
|
||||
li->li_dbcache[i].dbc_name = NULL;
|
||||
}
|
||||
#endif /* SLAP_CLEANUP */
|
||||
}
|
||||
}
|
||||
ldap_pvt_thread_mutex_unlock( &li->li_dbcache_mutex );
|
||||
|
|
|
|||
Loading…
Reference in a new issue