Revert "Revert "feat: add geometry to database args"" (#12165)

This commit is contained in:
Matthias Seitz
2024-10-29 14:23:54 +01:00
committed by GitHub
parent 52328422aa
commit f545877bb8
21 changed files with 326 additions and 16 deletions

View File

@ -489,8 +489,10 @@ pub struct PageOps {
pub mincore: u64,
}
/// Represents the geometry settings for the database environment
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Geometry<R> {
/// The size range in bytes.
pub size: Option<R>,
pub growth_step: Option<isize>,
pub shrink_threshold: Option<isize>,