Skip to content
Snippets Groups Projects
Commit 62e4eeb7 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#7943 reinit txn flags

When reusing the main write txn
parent 891e6627
No related branches found
No related tags found
No related merge requests found
......@@ -2626,6 +2626,7 @@ mdb_txn_begin(MDB_env *env, MDB_txn *parent, unsigned int flags, MDB_txn **ret)
if (!(flags & MDB_RDONLY)) {
if (!parent) {
txn = env->me_txn0;
txn->mt_flags = 0;
goto ok;
}
size += env->me_maxdbs * sizeof(MDB_cursor *);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment