]> git.sur5r.net Git - openldap/commitdiff
IDL cache AVL tree initialize
authorJong Hyuk Choi <jongchoi@openldap.org>
Thu, 26 Jun 2003 06:24:24 +0000 (06:24 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Thu, 26 Jun 2003 06:24:24 +0000 (06:24 +0000)
servers/slapd/back-bdb/init.c

index a5dc639293f47adfac93c61a31e1050f02a3dae7..b5a02532b8314b0190a2065b15570b4c2acfe73e 100644 (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;