Skip to content

Commit

Permalink
fix nullptr
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 committed Oct 16, 2023
1 parent 6b045f7 commit f3a1729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/olap/tablet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2920,7 +2920,7 @@ Status Tablet::calc_segment_delete_bitmap(RowsetSharedPtr rowset,
Version dummy_version(end_version + 1, end_version + 1);
auto rowset_schema = rowset->tablet_schema();
bool is_partial_update = rowset_schema->is_partial_update();
bool is_transient_rowset_writer = rowset_writer->is_transient_rowset_writer();
bool is_transient_rowset_writer = rowset_writer && rowset_writer->is_transient_rowset_writer();
// use for partial update
PartialUpdateReadPlan read_plan_ori;
PartialUpdateReadPlan read_plan_update;
Expand Down

0 comments on commit f3a1729

Please sign in to comment.