Skip to content

Commit a999c92

Browse files
rjancewiczion-elgreco
authored andcommitted
Enable readerFeatures in minReaderVersion 3
Fixes a check so readerFeatures is enabled on version 3 or higher Signed-off-by: Russell Jancewicz <[email protected]>
1 parent 3f355d8 commit a999c92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core/src/kernel/models/actions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl Protocol {
177177
self
178178
}
179179

180-
/// Converts existing properties into features if the reader_version is >=3 or writer_version >=3
180+
/// Converts existing properties into features if the reader_version is >=3 or writer_version >=7
181181
/// only converts features that are "true"
182182
pub fn move_table_properties_into_features(
183183
mut self,
@@ -212,7 +212,7 @@ impl Protocol {
212212
None => self.writer_features = Some(converted_writer_features),
213213
}
214214
}
215-
if self.min_reader_version > 3 {
215+
if self.min_reader_version >= 3 {
216216
let converted_reader_features = configuration
217217
.iter()
218218
.filter(|(_, value)| {

0 commit comments

Comments
 (0)