mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#3201 fix conflict with BDB internal locks
This commit is contained in:
parent
f7f6861a26
commit
3c68fc1f14
@ -92,7 +92,13 @@ typedef struct bdb_entry_info {
|
||||
struct bdb_entry_info *bei_parent;
|
||||
ID bei_id;
|
||||
|
||||
int bei_state;
|
||||
/* we use the bei_id as a lockobj, but we need to make the size != 4
|
||||
* to avoid conflicting with BDB's internal locks. So add a byte here
|
||||
* that is always zero.
|
||||
*/
|
||||
char bei_lockpad;
|
||||
|
||||
short bei_state;
|
||||
#define CACHE_ENTRY_DELETED 1
|
||||
#define CACHE_ENTRY_NO_KIDS 2
|
||||
#define CACHE_ENTRY_NOT_LINKED 4
|
||||
|
Loading…
Reference in New Issue
Block a user