mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Clean up prev commit
This commit is contained in:
parent
f6983802e2
commit
f685d9e78b
@ -1072,6 +1072,7 @@ load1:
|
||||
if ( rc == 0 ) {
|
||||
int purge = 0;
|
||||
|
||||
if (( load && !( flag & ID_NOCACHE )) || bdb->bi_cache.c_eimax ) {
|
||||
ldap_pvt_thread_mutex_lock( &bdb->bi_cache.c_count_mutex );
|
||||
if ( load && !( flag & ID_NOCACHE )) {
|
||||
bdb->bi_cache.c_cursize++;
|
||||
@ -1084,6 +1085,7 @@ load1:
|
||||
bdb->bi_cache.c_purging = 1;
|
||||
}
|
||||
ldap_pvt_thread_mutex_unlock( &bdb->bi_cache.c_count_mutex );
|
||||
}
|
||||
if ( purge )
|
||||
bdb_cache_lru_purge( bdb );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user