From: Howard Chu Date: Mon, 8 Jan 2007 19:10:23 +0000 (+0000) Subject: ITS#4797 X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~241 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=813cca89a6d9c4d4610e1c1bba2e31d9ccba663b;p=openldap ITS#4797 --- diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index 1a23efeb2d..667f6f7c6a 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -987,6 +987,8 @@ bdb_cache_add( } ldap_pvt_thread_mutex_unlock( &bdb->bi_cache.c_count_mutex ); + bdb_cache_lru_link( bdb, new ); + if ( purge ) bdb_cache_lru_purge( bdb );