mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Fixing warnings on clang [#METR-2807].
This commit is contained in:
parent
8f7425a906
commit
a75b6ca3dd
@ -37,7 +37,7 @@ protected:
|
||||
int fd;
|
||||
off_t pos_in_file; /// Какому сдвигу в файле соответствует working_buffer.end().
|
||||
|
||||
bool nextImpl()
|
||||
bool nextImpl() override
|
||||
{
|
||||
size_t bytes_read = 0;
|
||||
while (!bytes_read)
|
||||
@ -86,7 +86,7 @@ protected:
|
||||
}
|
||||
|
||||
/// Имя или описание файла
|
||||
virtual std::string getFileName() const override
|
||||
std::string getFileName() const override
|
||||
{
|
||||
return "(fd = " + toString(fd) + ")";
|
||||
}
|
||||
|
@ -692,8 +692,7 @@ MergeTreeData::PerShardDataParts MergeTreeDataMerger::reshardPartition(
|
||||
|
||||
MergeTreeSharder sharder(data, job);
|
||||
|
||||
Block block;
|
||||
while (block = merged_stream->read())
|
||||
while (Block block = merged_stream->read())
|
||||
{
|
||||
abortIfRequested();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user