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
35251f68
Commit
35251f68
authored
Jul 26, 2017
by
Howard Chu
Committed by
Quanah Gibson-Mount
Feb 11, 2018
Browse files
ITS#8699 more for cursor_del ITS#8622
Set C_DEL flag on reinit'd subcursor
parent
3b1acd40
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
35251f68
...
...
@@ -8465,8 +8465,10 @@ mdb_cursor_del0(MDB_cursor *mc)
if
(
m3
->
mc_xcursor
->
mx_cursor
.
mc_flags
&
C_INITIALIZED
)
{
if
(
!
(
node
->
mn_flags
&
F_SUBDATA
))
m3
->
mc_xcursor
->
mx_cursor
.
mc_pg
[
0
]
=
NODEDATA
(
node
);
}
else
}
else
{
mdb_xcursor_init1
(
m3
,
node
);
m3
->
mc_xcursor
->
mx_cursor
.
mc_flags
|=
C_DEL
;
}
}
}
}
...
...
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