mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-22 11:38:55 +08:00
mdbx: misc refines (minor).
Change-Id: Ia58e2d75e320bbd47dd352e082cf6f41afde075f
This commit is contained in:
@@ -970,7 +970,7 @@ static __inline unsigned mdbx_log2(size_t value) {
|
||||
|
||||
/* The percentage of space used in the page, in tenths of a percent. */
|
||||
#define PAGEFILL(env, p) \
|
||||
(1024L * ((env)->me_psize - PAGEHDRSZ - SIZELEFT(p)) / \
|
||||
(1024UL * ((env)->me_psize - PAGEHDRSZ - SIZELEFT(p)) / \
|
||||
((env)->me_psize - PAGEHDRSZ))
|
||||
/* The minimum page fill factor, in tenths of a percent.
|
||||
* Pages emptier than this are candidates for merging. */
|
||||
|
Reference in New Issue
Block a user