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
(parent:
a70200f
)
MDB_VL32 mdb_page_get(): Set MDB_TXN_ERROR on failure.
author
Hallvard Furuseth
<hallvard@openldap.org>
Fri, 2 Dec 2016 05:20:29 +0000
(06:20 +0100)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Fri, 2 Dec 2016 06:00:08 +0000
(07:00 +0100)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
ea0b8ef
..
4a79ae1
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-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);