Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JinheLin committed Nov 26, 2024
1 parent c940357 commit ee13f63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbms/src/DataTypes/DataTypeString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,15 @@ PaddedPODArray<Offset> offsetToStrSize(
const size_t begin,
const size_t end)
{
assert(!chars_offsets.empty());
PaddedPODArray<Offset> str_sizes(end - begin);
size_t i = 0;
if (begin == 0)
{
str_sizes[0] = chars_offsets[0];
++i;
}
assert(begin + i > 0);
// clang-format off
#pragma clang loop vectorize(enable)
// clang-format on
Expand Down

0 comments on commit ee13f63

Please sign in to comment.