mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-19 02:28:47 -05:00
ITS#10024 lmdb: fix MDB_PREVSNAPSHOT txnid initialization
This commit is contained in:
parent
b21e1b9fea
commit
f20e41de09
1 changed files with 3 additions and 0 deletions
|
|
@ -5083,6 +5083,9 @@ mdb_env_open2(MDB_env *env, int prev)
|
|||
#endif
|
||||
env->me_maxpg = env->me_mapsize / env->me_psize;
|
||||
|
||||
if (prev && env->me_txns)
|
||||
env->me_txns->mti_txnid = meta.mm_txnid;
|
||||
|
||||
#if MDB_DEBUG
|
||||
{
|
||||
MDB_meta *meta = mdb_env_pick_meta(env);
|
||||
|
|
|
|||
Loading…
Reference in a new issue