mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
clippy - gotta feature autovaccuum n ptrmaps
This commit is contained in:
@@ -5784,6 +5784,7 @@ pub(crate) enum PageCategory {
|
||||
Overflow,
|
||||
FreeListTrunk,
|
||||
FreePage,
|
||||
#[cfg(not(feature = "omit_autovacuum"))]
|
||||
PointerMap,
|
||||
}
|
||||
|
||||
|
||||
@@ -8121,6 +8121,7 @@ pub fn op_integrity_check(
|
||||
});
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "omit_autovacuum"))]{
|
||||
let auto_vacuum_mode = pager.get_auto_vacuum_mode();
|
||||
if !matches!(
|
||||
auto_vacuum_mode,
|
||||
@@ -8144,7 +8145,7 @@ pub fn op_integrity_check(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
for page_number in 2..=integrity_check_state.db_size {
|
||||
if !integrity_check_state
|
||||
.page_reference
|
||||
|
||||
Reference in New Issue
Block a user