projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2727e97
)
Tweak mdb_mid2l_insert() call from ITS#7775.
author
Hallvard Furuseth
<hallvard@openldap.org>
Sat, 22 Mar 2014 21:27:10 +0000
(22:27 +0100)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Sat, 22 Mar 2014 21:27:10 +0000
(22:27 +0100)
It does not return MDB error codes.
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
71b025f
..
0e5c361
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-6130,8
+6130,8
@@
current:
return ENOMEM;
id2.mid = pg;
id2.mptr = np;
- rc = mdb_mid2l_insert(mc->mc_txn->mt_u.dirty_list, &id2);
- mdb_cassert(mc, rc == 0);
+ rc
2
= mdb_mid2l_insert(mc->mc_txn->mt_u.dirty_list, &id2);
+ mdb_cassert(mc, rc
2
== 0);
if (!(flags & MDB_RESERVE)) {
/* Copy end of page, adjusting alignment so
* compiler may copy words instead of bytes.