mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +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());
|
||||
size_t pos = 0;
|
||||
for (const auto & column : columns)
|
||||
{
|
||||
column_name_to_position.emplace(column.name, pos++);
|
||||
}
|
||||
total_columns_size = getTotalColumnsSize();
|
||||
}
|
||||
|
||||
IMergeTreeDataPart::~IMergeTreeDataPart() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user