From 813cca89a6d9c4d4610e1c1bba2e31d9ccba663b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 8 Jan 2007 19:10:23 +0000 Subject: [PATCH] ITS#4797 --- servers/slapd/back-bdb/cache.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5