Skip to content
Snippets Groups Projects
Commit 467e3b13 authored by Howard Chu's avatar Howard Chu
Browse files

More for #5860

parent b46eb0d1
No related branches found
No related tags found
No related merge requests found
......@@ -677,8 +677,8 @@ bdb_cache_lru_purge( struct bdb_info *bdb )
efree = bdb->bi_cache.c_cursize - bdb->bi_cache.c_maxsize;
if ( efree < 1 )
efree = 0;
else if (efree < bdb->bi_cache.c_minfree )
efree = bdb->bi_cache.c_minfree;
else
efree += bdb->bi_cache.c_minfree;
if ( bdb->bi_cache.c_leaves > eimax ) {
eifree = bdb->bi_cache.c_minfree * 10;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment