mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Tweak mdb_mid2l_insert() call from ITS#7775.
It does not return MDB error codes.
This commit is contained in:
parent
2727e97de3
commit
1519f4bc3d
@ -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);
|
||||
rc2 = mdb_mid2l_insert(mc->mc_txn->mt_u.dirty_list, &id2);
|
||||
mdb_cassert(mc, rc2 == 0);
|
||||
if (!(flags & MDB_RESERVE)) {
|
||||
/* Copy end of page, adjusting alignment so
|
||||
* compiler may copy words instead of bytes.
|
||||
|
Loading…
Reference in New Issue
Block a user