From: Jong Hyuk Choi Date: Thu, 26 Jun 2003 06:24:24 +0000 (+0000) Subject: IDL cache AVL tree initialize X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~858 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e70377b87534ac661e45aa6fb6e825c0df22ba7f;p=openldap IDL cache AVL tree initialize --- diff --git a/servers/slapd/back-bdb/init.c b/servers/slapd/back-bdb/init.c index a5dc639293..b5a02532b8 100644 --- a/servers/slapd/back-bdb/init.c +++ b/servers/slapd/back-bdb/init.c @@ -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;