mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
ITS#7943 reinit txn flags
When reusing the main write txn
This commit is contained in:
parent
891e662754
commit
62e4eeb7f7
1 changed files with 1 additions and 0 deletions
|
|
@ -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 *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue