Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
b3bb531e
Commit
b3bb531e
authored
Feb 09, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5086
parent
49400527
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
b3bb531e
...
...
@@ -5,6 +5,7 @@ OpenLDAP 2.4.8 Engineering
Fixed libldap ldap_parse_sasl_bind_result (ITS#5263)
Fixed libldap search timeout crash (ITS#5291)
Fixed ldapdelete with sizelimit (ITS#5294)
Fixed slapd idlcache on adds (ITS#5086)
Fixed slapd include handling (ITS#5276)
Fixed slapd multi-step SASL binds (ITS#5298)
Fixed slapd non-atomic signal variables (ITS#5248)
...
...
servers/slapd/back-bdb/idl.c
View file @
b3bb531e
...
...
@@ -715,10 +715,6 @@ bdb_idl_insert_key(
assert
(
id
!=
NOID
);
if
(
bdb
->
bi_idl_cache_size
)
{
bdb_idl_cache_del
(
bdb
,
db
,
key
);
}
DBTzero
(
&
data
);
data
.
size
=
sizeof
(
ID
);
data
.
ulen
=
data
.
size
;
...
...
@@ -891,6 +887,12 @@ fail:
cursor
->
c_close
(
cursor
);
return
rc
;
}
/* If key was added (didn't already exist) and using IDL cache,
* update key in IDL cache.
*/
if
(
!
rc
&&
bdb
->
bi_idl_cache_max_size
)
{
bdb_idl_cache_add_id
(
bdb
,
db
,
key
,
id
);
}
rc
=
cursor
->
c_close
(
cursor
);
if
(
rc
!=
0
)
{
Debug
(
LDAP_DEBUG_ANY
,
"=> bdb_idl_insert_key: "
...
...
@@ -923,7 +925,7 @@ bdb_idl_delete_key(
}
assert
(
id
!=
NOID
);
if
(
bdb
->
bi_idl_cache_
max_
size
)
{
if
(
bdb
->
bi_idl_cache_size
)
{
bdb_idl_cache_del
(
bdb
,
db
,
key
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment