This commit is contained in:
yongkangc
2025-12-30 12:53:44 +00:00
parent 3a03c75646
commit d02d43a192

View File

@@ -204,12 +204,6 @@ impl<'a, CURSOR, N: NodePrimitives> EitherWriter<'a, CURSOR, N> {
}
}
/// Stub version for non-RocksDB builds.
#[cfg(not(all(unix, feature = "rocksdb")))]
pub fn into_raw_rocksdb_batch(self) -> Option<()> {
None
}
/// Increment the block number.
///
/// Relevant only for [`Self::StaticFile`]. It is a no-op for [`Self::Database`].