Skip to content

Commit

Permalink
[ISSUE #2327]🤡SelectMappedBufferResult add bytes attribute🧑‍💻
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm committed Jan 18, 2025
1 parent 218c3ca commit 8847d09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rocketmq-store/src/base/select_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ use crate::log_file::mapped_file::MappedFile;
pub struct SelectMappedBufferResult {
/// The start offset.
pub start_offset: u64,

pub bytes: Option<Bytes>,

/// The size.
pub size: i32,
/// The mapped file.
Expand All @@ -39,6 +42,7 @@ impl Default for SelectMappedBufferResult {
fn default() -> Self {
Self {
start_offset: 0,
bytes: None,
size: 0,
mapped_file: None,
is_in_cache: true,
Expand Down

0 comments on commit 8847d09

Please sign in to comment.