Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
James Lowden
OpenLDAP
Commits
0f44c86f
Commit
0f44c86f
authored
May 27, 2021
by
Howard Chu
Committed by
Quanah Gibson-Mount
Jun 01, 2021
Browse files
ITS#9557 back-mdb: fix mdb_waitfixup for candidate-based searches
Off-by-one left last scope unrefreshed
parent
de5d5a53
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-mdb/search.c
View file @
0f44c86f
...
...
@@ -406,7 +406,7 @@ mdb_waitfixup( Operation *op, ww_ctx *ww, MDB_cursor *mci, MDB_cursor *mcd, IdSc
ww
->
data
.
mv_data
=
NULL
;
}
else
if
(
isc
->
scopes
[
0
].
mid
>
1
)
{
/* candidate-based search */
int
i
;
for
(
i
=
1
;
i
<
isc
->
scopes
[
0
].
mid
;
i
++
)
{
for
(
i
=
1
;
i
<
=
isc
->
scopes
[
0
].
mid
;
i
++
)
{
if
(
!
isc
->
scopes
[
i
].
mval
.
mv_data
)
continue
;
key
.
mv_data
=
&
isc
->
scopes
[
i
].
mid
;
...
...
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