Skip to content

Commit

Permalink
fix: fix block hitmap clone, fix unused pub (#14767)
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Jan 24, 2024
1 parent c2c2032 commit e8822ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct BackwardSstableIterator {
cur_idx: usize,

/// Reference to the sstable
pub sst: TableHolder,
sst: TableHolder,

sstable_store: SstableStoreRef,

Expand Down
2 changes: 1 addition & 1 deletion src/storage/src/hummock/sstable/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ impl Clone for Block {
data_len: self.data_len,
table_id: self.table_id,
restart_points: self.restart_points.clone(),
hitmap: Hitmap::default(),
hitmap: self.hitmap.clone(),
}
}
}
Expand Down

0 comments on commit e8822ed

Please sign in to comment.