Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion core/src/array/array_read_state.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,8 @@ int ArrayReadState::sort_fragment_cell_ranges(
popped = pq.top();
pq.pop();

// Last range - just insert it into the results and stop
// Last range - insert it into the results and get the next range
// for that fragment
if(pq.empty()) {
popped->export_to(result);
fragment_cell_ranges.push_back(result);
Expand Down
3 changes: 3 additions & 0 deletions core/src/fragment/read_state.cc
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ void ReadState::reset() {
done_ = false;
search_tile_pos_ = -1;
compute_tile_search_range();

for(int i=0; i<attribute_num_+2; ++i)
tiles_offsets_[i] = 0;
}

void ReadState::reset_overflow() {
Expand Down