Skip to content

Commit

Permalink
Enable readerFeatures in minReaderVersion 3
Browse files Browse the repository at this point in the history
Fixes a check so readerFeatures is enabled on version 3 or higher

Signed-off-by: Russell Jancewicz <[email protected]>
  • Loading branch information
rjancewicz committed Nov 1, 2024
1 parent 3f355d8 commit 964f1fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core/src/kernel/models/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl Protocol {
self
}

/// Converts existing properties into features if the reader_version is >=3 or writer_version >=3
/// Converts existing properties into features if the reader_version is >=3 or writer_version >=7
/// only converts features that are "true"
pub fn move_table_properties_into_features(
mut self,
Expand Down Expand Up @@ -212,7 +212,7 @@ impl Protocol {
None => self.writer_features = Some(converted_writer_features),
}
}
if self.min_reader_version > 3 {
if self.min_reader_version >= 3 {
let converted_reader_features = configuration
.iter()
.filter(|(_, value)| {
Expand Down

0 comments on commit 964f1fd

Please sign in to comment.