mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix bei_state access
http://www.openldap.org/lists/openldap-devel/200805/msg00073.html
This commit is contained in:
parent
b6b3461cf9
commit
4c8efee4a6
@ -1156,7 +1156,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 New Issue
Block a user