mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-31 14:50:34 +08:00
ITS#10024 lmdb: fix MDB_PREVSNAPSHOT txnid initialization
This commit is contained in:
parent
9ec98ca00e
commit
b6c4293f6f
@ -5446,6 +5446,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…
x
Reference in New Issue
Block a user