mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#6360 fix cache cursize count
This commit is contained in:
parent
e7fd598c01
commit
0ecb68e02d
@ -972,6 +972,9 @@ load1:
|
||||
*/
|
||||
if ( (*eip)->bei_state & CACHE_ENTRY_NOT_CACHED ) {
|
||||
(*eip)->bei_state &= ~CACHE_ENTRY_NOT_CACHED;
|
||||
ldap_pvt_thread_mutex_lock( &bdb->bi_cache.c_count_mutex );
|
||||
++bdb->bi_cache.c_cursize;
|
||||
ldap_pvt_thread_mutex_unlock( &bdb->bi_cache.c_count_mutex );
|
||||
}
|
||||
flag &= ~ID_NOCACHE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user