Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jun 17, 2023
1 parent 28c7970 commit 699a42d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions be/src/olap/rowset/segment_v2/binary_plain_page.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,10 @@ class BinaryPlainPageDecoder : public PageDecoder {
_offsets_pos = _data.get_size() - (_num_elems + 1) * sizeof(uint32_t);

if (_offsets_pos > _data.get_size() - sizeof(uint32_t)) {
return Status::Corruption("file corruption: offsets pos beyonds data_size: {}, num_element: {}"
", offset_pos: {}", _data.size, _num_elems, _offsets_pos);
return Status::Corruption(
"file corruption: offsets pos beyonds data_size: {}, num_element: {}"
", offset_pos: {}",
_data.size, _num_elems, _offsets_pos);
}
_parsed = true;

Expand Down

0 comments on commit 699a42d

Please sign in to comment.