diff --git a/src/mito2/src/read.rs b/src/mito2/src/read.rs index 19b2880a92..9ada0cafd5 100644 --- a/src/mito2/src/read.rs +++ b/src/mito2/src/read.rs @@ -535,7 +535,7 @@ impl Batch { } /// Returns Ok if the given batch is behind the current batch. - #[cfg(debug_assertions)] + // #[cfg(debug_assertions)] pub(crate) fn check_next_batch(&self, other: &Batch) -> Result<(), String> { // Checks the primary key if self.primary_key() < other.primary_key() {