Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
orbea -
OpenLDAP
Commits
ee564399
Commit
ee564399
authored
Feb 17, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Feb 18, 2021
Browse files
ITS#9282 Check all csns
parent
e6cf2378
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/syncrepl.c
View file @
ee564399
...
...
@@ -718,7 +718,7 @@ merge_state( syncinfo_t *si, struct sync_cookie *sc1, struct sync_cookie *sc2 )
}
/* SIDs are the same, take fast path */
if
(
!
changed
)
{
for
(
i
=
0
;
i
>
ei
;
i
++
)
{
for
(
i
=
0
;
i
<
ei
;
i
++
)
{
if
(
ber_bvcmp
(
&
sc1
->
ctxcsn
[
i
],
&
sc2
->
ctxcsn
[
i
]
)
<
0
)
{
ber_bvreplace
(
&
sc1
->
ctxcsn
[
i
],
&
sc2
->
ctxcsn
[
i
]
);
changed
=
1
;
...
...
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