Skip to content

Commit

Permalink
Fix seg fault
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Jan 3, 2024
1 parent a97ddef commit 34a369e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/arcticdb/pipeline/read_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ std::unique_ptr<StringReducer> get_string_reducer(
const auto alloc_width = get_max_string_size_in_column(column.data().buffer(), context, frame, frame_field, slice_map, true);
string_reducer = std::make_unique<UnicodeConvertingStringReducer>(column, context, frame, frame_field, alloc_width);
} else {
const auto alloc_width = get_max_string_size_in_column(column.data().buffer(), context, frame, frame_field, slice_map, false);
const auto alloc_width = get_max_string_size_in_column(column.data().buffer(), context, frame, frame_field, slice_map, true);
string_reducer = std::make_unique<FixedStringReducer>(column, context, frame, frame_field, alloc_width);
}
} else {
Expand Down

0 comments on commit 34a369e

Please sign in to comment.