mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-20 05:28:21 +08:00
mdbx: mark the parent transaction dirty in case the undo of the geometry update failed during abortion of a nested transaction.
This commit is contained in:
parent
33a9395afe
commit
2497437060
@ -8725,6 +8725,7 @@ static int mdbx_txn_end(MDBX_txn *txn, const unsigned mode) {
|
|||||||
parent->mt_geo.upper);
|
parent->mt_geo.upper);
|
||||||
parent->mt_geo.now = txn->mt_geo.now;
|
parent->mt_geo.now = txn->mt_geo.now;
|
||||||
parent->mt_geo.upper = txn->mt_geo.upper;
|
parent->mt_geo.upper = txn->mt_geo.upper;
|
||||||
|
parent->mt_flags |= MDBX_TXN_DIRTY;
|
||||||
rc = MDBX_SUCCESS;
|
rc = MDBX_SUCCESS;
|
||||||
} else if (unlikely(rc != MDBX_SUCCESS)) {
|
} else if (unlikely(rc != MDBX_SUCCESS)) {
|
||||||
mdbx_error("error %d while undo resize performed by child txn, fail "
|
mdbx_error("error %d while undo resize performed by child txn, fail "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user