IDL cache AVL tree initialize

This commit is contained in:
Jong Hyuk Choi 2003-06-26 06:24:24 +00:00
parent 73f17befb7
commit e70377b875

View file

@ -200,6 +200,7 @@ bdb_db_open( BackendDB *be )
#ifdef SLAP_IDL_CACHE
if ( bdb->bi_idl_cache_max_size ) {
bdb->bi_idl_tree = NULL;
ldap_pvt_thread_rdwr_init( &bdb->bi_idl_tree_rwlock );
ldap_pvt_thread_mutex_init( &bdb->bi_idl_tree_lrulock );
bdb->bi_idl_cache_size = 0;