check build clang7 splitted

This commit is contained in:
Ivan Kushnarenko 2019-04-27 11:24:50 +03:00
parent ba61e16093
commit cb51558bdf

View File

@ -197,7 +197,9 @@ void StorageMergeTree::rename(const String & new_path_to_db, const String & /*ne
std::vector<MergeTreeData::AlterDataPartTransactionPtr> StorageMergeTree::prepareAlterTransactions(
const ColumnsDescription & new_columns, const IndicesDescription & new_indices, const Context & context)
{
auto parts = data.getDataParts({MergeTreeDataPartState::PreCommitted, MergeTreeDataPartState::Committed, MergeTreeDataPartState::Outdated});
auto parts = data.getDataParts({MergeTreeDataPartState::PreCommitted,
MergeTreeDataPartState::Committed,
MergeTreeDataPartState::Outdated});
std::vector<MergeTreeData::AlterDataPartTransactionPtr> transactions(parts.size());
const auto& columns_for_parts = new_columns.getAllPhysical();