mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Fix bei_state access
This commit is contained in:
parent
dd4996a83b
commit
33326eb116
1 changed files with 5 additions and 1 deletions
|
|
@ -1152,7 +1152,11 @@ gotit:
|
|||
}
|
||||
cx->depth--;
|
||||
cx->op->o_tmpfree( save, cx->op->o_tmpmemctx );
|
||||
if ( nokids ) ei->bei_state |= CACHE_ENTRY_NO_GRANDKIDS;
|
||||
if ( nokids ) {
|
||||
bdb_cache_entryinfo_lock( ei );
|
||||
ei->bei_state |= CACHE_ENTRY_NO_GRANDKIDS;
|
||||
bdb_cache_entryinfo_unlock( ei );
|
||||
}
|
||||
}
|
||||
/* Make sure caller knows it had kids! */
|
||||
cx->tmp[0]=1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue