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:
02e8de5
)
mdb_txn_renew(): Drop pointless diff from mdb.RE.
author
Hallvard Furuseth
<hallvard@openldap.org>
Wed, 27 May 2015 20:23:50 +0000
(22:23 +0200)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Wed, 27 May 2015 20:23:50 +0000
(22:23 +0200)
Makes the code friendlier to "git cherry-pick".
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
5423575
..
78c2c35
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-2586,7
+2586,7
@@
mdb_txn_renew0(MDB_txn *txn)
int rc, new_notls = 0;
if (txn->mt_flags & MDB_TXN_RDONLY) {
- txn->mt_flags
&= MDB_TXN_BEGIN_FLAGS
;
+ txn->mt_flags
= MDB_TXN_RDONLY
;
/* Setup db info */
txn->mt_numdbs = env->me_numdbs;
txn->mt_dbxs = env->me_dbxs; /* mostly static anyway */