mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Remove accident change
This commit is contained in:
parent
3a1e375b8a
commit
b0578d3faa
@ -229,10 +229,7 @@ void IMergeTreeDataPart::setColumns(const NamesAndTypesList & new_columns)
|
|||||||
column_name_to_position.reserve(new_columns.size());
|
column_name_to_position.reserve(new_columns.size());
|
||||||
size_t pos = 0;
|
size_t pos = 0;
|
||||||
for (const auto & column : columns)
|
for (const auto & column : columns)
|
||||||
{
|
|
||||||
column_name_to_position.emplace(column.name, pos++);
|
column_name_to_position.emplace(column.name, pos++);
|
||||||
}
|
|
||||||
total_columns_size = getTotalColumnsSize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
IMergeTreeDataPart::~IMergeTreeDataPart() = default;
|
IMergeTreeDataPart::~IMergeTreeDataPart() = default;
|
||||||
|
Loading…
Reference in New Issue
Block a user