You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
if (bytes2pgno(env, growth_step) > UINT16_MAX)
growth_step = pgno2bytes(env, UINT16_MAX);
It's very unexpected option configured by me was silently changed.
Also this code is buggy: bytes2pgno can't be used before set env.me_psize is set - but it's not set yet (I passed pagesize=64Kb to set_geometry, but bytes2pgno using 4K value here).
The text was updated successfully, but these errors were encountered:
AskAlexSharov
changed the title
geometry: better assert about invalid value than change it to unexpected value
geometry: better assert about invalid value than silently adjust
Mar 2, 2021
set_geometry has code:
It's very unexpected option configured by me was silently changed.
Also this code is buggy: bytes2pgno can't be used before set env.me_psize is set - but it's not set yet (I passed pagesize=64Kb to set_geometry, but bytes2pgno using 4K value here).
The text was updated successfully, but these errors were encountered: