Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
86bac333
Commit
86bac333
authored
Dec 13, 2007
by
Howard Chu
Browse files
Sync with HEAD
parent
9f5b3288
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/dn2id.c
View file @
86bac333
...
...
@@ -33,6 +33,9 @@ bdb_dn2id_lock( struct bdb_info *bdb, struct berval *dn,
DBT
lockobj
;
int
db_rw
;
if
(
!
locker
)
return
0
;
if
(
rw
)
db_rw
=
DB_LOCK_WRITE
;
else
...
...
servers/slapd/back-bdb/tools.c
View file @
86bac333
...
...
@@ -340,7 +340,7 @@ static int bdb_tool_next_id(
return
0
;
}
rc
=
bdb_cache_find_ndn
(
op
,
TXN_ID
(
tid
),
&
ndn
,
&
ei
);
rc
=
bdb_cache_find_ndn
(
op
,
tid
?
TXN_ID
(
tid
)
:
0
,
&
ndn
,
&
ei
);
if
(
ei
)
bdb_cache_entryinfo_unlock
(
ei
);
if
(
rc
==
DB_NOTFOUND
)
{
if
(
!
be_issuffix
(
op
->
o_bd
,
&
ndn
)
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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