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
dda2ac0a
Commit
dda2ac0a
authored
Apr 26, 2016
by
Howard Chu
Browse files
ITS#8412 fix NEXT_DUP after cursor_del
parent
b46fc3e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
dda2ac0a
...
...
@@ -5641,7 +5641,8 @@ mdb_cursor_next(MDB_cursor *mc, MDB_val *key, MDB_val *data, MDB_cursor_op op)
MDB_node
*
leaf
;
int
rc
;
if
(
mc
->
mc_flags
&
C_EOF
)
{
if
((
mc
->
mc_flags
&
C_EOF
)
||
((
mc
->
mc_flags
&
C_DEL
)
&&
op
==
MDB_NEXT_DUP
))
{
return
MDB_NOTFOUND
;
}
if
(
!
(
mc
->
mc_flags
&
C_INITIALIZED
))
...
...
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