mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 23:19:59 -05:00
comment monitoring by now
This commit is contained in:
parent
deea7b5530
commit
028a8af7df
1 changed files with 10 additions and 2 deletions
|
|
@ -151,7 +151,9 @@ ldap_back_db_init( Backend *be )
|
|||
|
||||
be->be_cf_ocs = be->bd_info->bi_cf_ocs;
|
||||
|
||||
#if 0 /* disable by now */
|
||||
rc = ldap_back_monitor_db_init( be );
|
||||
#endif
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
|
@ -206,11 +208,13 @@ ldap_back_db_open( BackendDB *be )
|
|||
}
|
||||
}
|
||||
|
||||
#if 0 /* disable by now */
|
||||
/* monitor setup */
|
||||
rc = ldap_back_monitor_db_open( be );
|
||||
if ( rc != 0 ) {
|
||||
goto fail;
|
||||
}
|
||||
#endif
|
||||
|
||||
li->li_flags |= LDAP_BACK_F_ISOPEN;
|
||||
|
||||
|
|
@ -244,9 +248,11 @@ ldap_back_db_close( Backend *be )
|
|||
{
|
||||
int rc = 0;
|
||||
|
||||
#if 0 /* disable by now */
|
||||
if ( be->be_private ) {
|
||||
rc = ldap_back_monitor_db_close( be );
|
||||
}
|
||||
#endif
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
|
@ -257,6 +263,10 @@ ldap_back_db_destroy( Backend *be )
|
|||
if ( be->be_private ) {
|
||||
ldapinfo_t *li = ( ldapinfo_t * )be->be_private;
|
||||
|
||||
#if 0 /* disable by now */
|
||||
(void)ldap_back_monitor_db_destroy( be );
|
||||
#endif
|
||||
|
||||
ldap_pvt_thread_mutex_lock( &li->li_conninfo.lai_mutex );
|
||||
|
||||
if ( li->li_uri != NULL ) {
|
||||
|
|
@ -326,8 +336,6 @@ ldap_back_db_destroy( Backend *be )
|
|||
ldap_pvt_thread_mutex_unlock( &li->li_conninfo.lai_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &li->li_conninfo.lai_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &li->li_uri_mutex );
|
||||
|
||||
(void)ldap_back_monitor_db_destroy( be );
|
||||
}
|
||||
|
||||
ch_free( be->be_private );
|
||||
|
|
|
|||
Loading…
Reference in a new issue