Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
237fabda
Commit
237fabda
authored
Sep 18, 2011
by
Howard Chu
Browse files
Fix last delete from a subpage
parent
0ab84159
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libmdb/mdb.c
View file @
237fabda
...
...
@@ -3843,7 +3843,7 @@ mdb_cursor_del(MDB_cursor *mc, unsigned int flags)
}
rc
=
mdb_cursor_del
(
&
mc
->
mc_xcursor
->
mx_cursor
,
0
);
/* If sub-DB still has entries, we're done */
if
(
mc
->
mc_xcursor
->
mx_db
.
md_
root
!=
P_INVALID
)
{
if
(
mc
->
mc_xcursor
->
mx_db
.
md_
entries
)
{
if
(
leaf
->
mn_flags
&
F_SUBDATA
)
{
/* update subDB info */
MDB_db
*
db
=
NODEDATA
(
leaf
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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