Commit 8d1f6ca7 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

mdb_txn_renew(): Drop pointless diff from mdb.RE.

Makes the code friendlier to "git cherry-pick".
parent 02e8de5e
...@@ -2586,7 +2586,7 @@ mdb_txn_renew0(MDB_txn *txn) ...@@ -2586,7 +2586,7 @@ mdb_txn_renew0(MDB_txn *txn)
int rc, new_notls = 0; int rc, new_notls = 0;
if (txn->mt_flags & MDB_TXN_RDONLY) { if (txn->mt_flags & MDB_TXN_RDONLY) {
txn->mt_flags &= MDB_TXN_BEGIN_FLAGS; txn->mt_flags = MDB_TXN_RDONLY;
/* Setup db info */ /* Setup db info */
txn->mt_numdbs = env->me_numdbs; txn->mt_numdbs = env->me_numdbs;
txn->mt_dbxs = env->me_dbxs; /* mostly static anyway */ txn->mt_dbxs = env->me_dbxs; /* mostly static anyway */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment