Skip to content

Commit e980482

Browse files
committed
fix
1 parent 6bd324b commit e980482

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/paimon/core/mergetree/compact/sort_merge_reader_with_min_heap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class SortMergeReaderWithMinHeap : public SortMergeReader {
142142
};
143143

144144
private:
145-
bool need_merge_;
145+
const bool need_merge_;
146146
// must hold all readers, as data array is allocated by the pool of data file reader
147147
std::vector<std::unique_ptr<KeyValueRecordReader>> readers_holder_;
148148
std::vector<KeyValueRecordReader*> next_batch_readers_;

0 commit comments

Comments
 (0)