Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed May 28, 2024
1 parent 0f0257b commit d4bbafa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/util/block_compression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ class SnappySlicesSource : public snappy::Source {
// REQUIRES: Available() >= n
void Skip(size_t n) override {
_available -= n;
while(n > 0) {
while (n > 0) {
auto left = _slices[_cur_slice].size - _slice_off;
if (left > n) {
// n can be digest in current slice
Expand Down

0 comments on commit d4bbafa

Please sign in to comment.