diff --git a/src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp b/src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp index e300fab4265..e2bf24dc80c 100644 --- a/src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp +++ b/src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp @@ -1019,7 +1019,6 @@ bool CachedOnDiskReadBufferFromFile::nextImplStep() file_offset_of_buffer_end, state, info, - /* reset_downloader_after_read */true, implementation_buffer_can_be_reused, log); @@ -1048,7 +1047,6 @@ size_t CachedOnDiskReadBufferFromFile::readFromFileSegment( size_t & offset, ReadFromFileSegmentState & state, ReadInfo & info, - bool , bool & implementation_buffer_can_be_reused, LoggerPtr log) { @@ -1305,7 +1303,6 @@ size_t CachedOnDiskReadBufferFromFile::readBigAt( /* offset */range_begin, current_state, current_info, - /* reset_downloader_after_read */false, implementation_buffer_can_be_reused, log); diff --git a/src/Disks/IO/CachedOnDiskReadBufferFromFile.h b/src/Disks/IO/CachedOnDiskReadBufferFromFile.h index 57c2bb6cbf5..f9eede4bc0f 100644 --- a/src/Disks/IO/CachedOnDiskReadBufferFromFile.h +++ b/src/Disks/IO/CachedOnDiskReadBufferFromFile.h @@ -147,7 +147,6 @@ private: size_t & offset, ReadFromFileSegmentState & state, ReadInfo & info, - bool reset_downloader_after_read, bool & implementation_buffer_can_be_reused, LoggerPtr log);