mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
ITS#4738 provisional fix, still needs confirmation
This commit is contained in:
parent
7703e7e3a9
commit
bd95f8ab1c
1 changed files with 2 additions and 0 deletions
|
|
@ -770,7 +770,9 @@ load1:
|
||||||
#endif
|
#endif
|
||||||
ep = NULL;
|
ep = NULL;
|
||||||
}
|
}
|
||||||
|
bdb_cache_entryinfo_lock( *eip );
|
||||||
(*eip)->bei_state ^= CACHE_ENTRY_LOADING;
|
(*eip)->bei_state ^= CACHE_ENTRY_LOADING;
|
||||||
|
bdb_cache_entryinfo_unlock( *eip );
|
||||||
if ( rc == 0 ) {
|
if ( rc == 0 ) {
|
||||||
/* If we succeeded, downgrade back to a readlock. */
|
/* If we succeeded, downgrade back to a readlock. */
|
||||||
rc = bdb_cache_entry_db_relock( bdb->bi_dbenv, locker,
|
rc = bdb_cache_entry_db_relock( bdb->bi_dbenv, locker,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue