Update CachedOnDiskReadBufferFromFile.cpp

This commit is contained in:
Kseniia Sumarokova 2023-04-06 13:01:24 +02:00 committed by GitHub
parent 005f233848
commit 3fc952a56a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1184,7 +1184,7 @@ String CachedOnDiskReadBufferFromFile::getInfoForLog()
implementation_buffer_read_range_str = "None";
String current_file_segment_info;
if (current_file_segment_it == file_segments_holder->file_segments.end())
if (current_file_segment_it != file_segments_holder->file_segments.end())
current_file_segment_info = (*current_file_segment_it)->getInfoForLog();
else
current_file_segment_info = "None";