This commit is contained in:
Alexey Milovidov 2015-10-15 22:42:06 +03:00
commit 9bf8199cae

View File

@ -13,10 +13,9 @@ namespace DB
NamesAndTypesList ITableDeclaration::getColumnsList() const
{
auto columns = getColumnsListImpl();
columns.insert(std::end(columns), std::begin(materialized_columns), std::end(materialized_columns));
const auto & range = getColumnsListIterator();
return columns;
return { std::begin(range), std::end(range) };
}