mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
MDB_VL32 mdb_page_get(): Set MDB_TXN_ERROR on failure.
This commit is contained in:
parent
a70200f15f
commit
08e4684d37
1 changed files with 3 additions and 1 deletions
|
|
@ -6150,8 +6150,10 @@ mapped:
|
|||
{
|
||||
#ifdef MDB_VL32
|
||||
int rc = mdb_rpage_get(txn, pgno, &p);
|
||||
if (rc)
|
||||
if (rc) {
|
||||
txn->mt_flags |= MDB_TXN_ERROR;
|
||||
return rc;
|
||||
}
|
||||
#else
|
||||
MDB_env *env = txn->mt_env;
|
||||
p = (MDB_page *)(env->me_map + env->me_psize * pgno);
|
||||
|
|
|
|||
Loading…
Reference in a new issue