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
Tero Saarni
OpenLDAP
Commits
09e74f90
Commit
09e74f90
authored
May 10, 2016
by
Hallvard Furuseth
Committed by
Howard Chu
Jun 15, 2016
Browse files
Comment ovpage code in mdb_cursor_put()
parent
27f6160d
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
09e74f90
...
...
@@ -6635,8 +6635,13 @@ current:
/* Note - this page is already counted in parent's dirty_room */
rc2
=
mdb_mid2l_insert
(
mc
->
mc_txn
->
mt_u
.
dirty_list
,
&
id2
);
mdb_cassert
(
mc
,
rc2
==
0
);
/* Currently we make the page look as with put() in the
* parent txn, in case the user peeks at MDB_RESERVEd
* or unused parts. Some users treat ovpages specially.
*/
if
(
!
(
flags
&
MDB_RESERVE
))
{
/* Copy end of page, adjusting alignment so
/* Skip the part where LMDB will put *data.
* Copy end of page, adjusting alignment so
* compiler may copy words instead of bytes.
*/
off
=
(
PAGEHDRSZ
+
data
->
mv_size
)
&
-
sizeof
(
size_t
);
...
...
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