mdbx: fix mdbx_page_flush().

Change-Id: I467c2367f2e99ae50996d0859ae22f70c9649a2d
This commit is contained in:
Leonid Yuriev 2020-12-21 22:34:16 +03:00
parent 05958a708e
commit f0d79df9b9

View File

@ -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);