mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 01:44:13 +08:00
mdbx: fix mdbx_page_flush()
.
Change-Id: I467c2367f2e99ae50996d0859ae22f70c9649a2d
This commit is contained in:
parent
05958a708e
commit
f0d79df9b9
@ -8149,7 +8149,7 @@ __hot static int mdbx_page_flush(MDBX_txn *txn, const size_t keep) {
|
||||
(void)flush_end;
|
||||
|
||||
txn->tw.dirtyroom += (unsigned)(r - 1 - w);
|
||||
dl->length = (unsigned)w;
|
||||
dl->sorted = dl->length = (unsigned)w;
|
||||
mdbx_tassert(txn, txn->mt_parent ||
|
||||
txn->tw.dirtyroom + txn->tw.dirtylist->length ==
|
||||
txn->mt_env->me_options.dp_limit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user