ITS#7943 reinit txn flags

When reusing the main write txn
vl32b
Howard Chu 10 years ago
parent 891e662754
commit 62e4eeb7f7
  1. 1
      libraries/liblmdb/mdb.c

@ -2626,6 +2626,7 @@ mdb_txn_begin(MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **ret)
if (!(flags & MDB_RDONLY)) { if (!(flags & MDB_RDONLY)) {
if (!parent) { if (!parent) {
txn = env->me_txn0; txn = env->me_txn0;
txn->mt_flags = 0;
goto ok; goto ok;
} }
size += env->me_maxdbs * sizeof(MDB_cursor *); size += env->me_maxdbs * sizeof(MDB_cursor *);

Loading…
Cancel
Save