chore: fix compile

This commit is contained in:
evenyag
2024-11-05 15:32:35 +08:00
parent f59e28006a
commit 957b5effd5

View File

@@ -493,7 +493,7 @@ impl Batch {
}
/// Checks the batch is monotonic by timestamps.
#[cfg(debug_assertions)]
// #[cfg(debug_assertions)]
pub(crate) fn check_monotonic(&self) -> Result<(), String> {
use std::cmp::Ordering;
if self.timestamps_native().is_none() {