Fixed error [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-12-18 09:49:38 +03:00
parent 84016cc96f
commit bc160f5e4d

View File

@ -37,7 +37,7 @@ BlockInputStreams StorageSystemBuildOptions::read(
for (auto it = auto_config_build; *it; it += 2)
{
res_columns[0]->insert(String(it[0]));
res_columns[0]->insert(String(it[1]));
res_columns[1]->insert(String(it[1]));
}
return BlockInputStreams(1, std::make_shared<OneBlockInputStream>(getSampleBlock().cloneWithColumns(std::move(res_columns))));