mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-04 12:32:19 +08:00
mdbx: minor fix/refine mdbx_txn_straggler() for r/w-txn.
Change-Id: Id44a1db414de457d74a3e1d9d5c96064a7278080
This commit is contained in:
@@ -12810,7 +12810,7 @@ int mdbx_txn_straggler(MDBX_txn *txn, int *percent)
|
||||
*percent =
|
||||
(int)((txn->mt_next_pgno * UINT64_C(100) + txn->mt_end_pgno / 2) /
|
||||
txn->mt_end_pgno);
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
txnid_t recent;
|
||||
|
Reference in New Issue
Block a user