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
James Lowden
OpenLDAP
Commits
71c07f0d
Commit
71c07f0d
authored
Nov 18, 2015
by
Howard Chu
Browse files
ITS#8311 add comment
parent
f9d3dc82
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
71c07f0d
...
...
@@ -8251,6 +8251,11 @@ mdb_page_split(MDB_cursor *mc, MDB_val *newkey, MDB_val *newdata, pgno_t newpgno
rp
->
mp_pad
=
mp
->
mp_pad
;
DPRINTF
((
"new right sibling: page %"
Z
"u"
,
rp
->
mp_pgno
));
/* Usually when splitting the root page, the cursor
* height is 1. But when called from mdb_update_key,
* the cursor height may be greater because it walks
* up the stack while finding the branch slot to update.
*/
if
(
mc
->
mc_top
<
1
)
{
if
((
rc
=
mdb_page_new
(
mc
,
P_BRANCH
,
1
,
&
pp
)))
goto
done
;
...
...
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