mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-31 11:18:21 +08:00
mdbx: корректировка излишне строгого условия в assert-проверке внутри recalculate_subpage_thresholds()
.
This commit is contained in:
parent
b7206c68a5
commit
781c04f6e2
@ -726,7 +726,7 @@ void recalculate_subpage_thresholds(MDBX_env *env) {
|
||||
env->subpage_reserve_prereq = page_space(env);
|
||||
else if (env->subpage_reserve_prereq < env->subpage_room_threshold + env->subpage_reserve_limit)
|
||||
env->subpage_reserve_prereq = env->subpage_room_threshold + env->subpage_reserve_limit;
|
||||
eASSERT(env, env->subpage_reserve_prereq > env->subpage_room_threshold + env->subpage_reserve_limit);
|
||||
eASSERT(env, env->subpage_reserve_prereq >= env->subpage_room_threshold + env->subpage_reserve_limit);
|
||||
}
|
||||
|
||||
size_t page_subleaf2_reserve(const MDBX_env *env, size_t host_page_room, size_t subpage_len, size_t item_len) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user