mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Update CachedReadBufferFromRemoteFS.cpp
This commit is contained in:
parent
50b5684d00
commit
1b267462d8
@ -336,7 +336,7 @@ SeekableReadBufferPtr CachedReadBufferFromRemoteFS::getImplementationBuffer(File
|
||||
size_t seek_offset = file_offset_of_buffer_end - range.left;
|
||||
|
||||
if (file_offset_of_buffer_end < range.left)
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "Expected {} > {}", file_offset_of_buffer_end, range.left);
|
||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "Failed invariant. Expected {} > {}", file_offset_of_buffer_end, range.left);
|
||||
|
||||
read_buffer_for_file_segment->seek(seek_offset, SEEK_SET);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user