Remove accident change

This commit is contained in:
alesapin 2020-03-23 16:35:18 +03:00
parent 3a1e375b8a
commit b0578d3faa

View File

@ -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;