Fix MergeTreeSequentialBlockInputStream.

This commit is contained in:
Nikolai Kochetov 2019-10-10 14:24:29 +03:00
parent 4728bdfccd
commit 378052743d

View File

@ -114,8 +114,8 @@ try
auto it = sample.begin();
for (size_t i = 0; i < num_columns; ++i)
{
if (header.has(it->name))
header.getByName(it->name).column = std::move(columns[i]);
if (res.has(it->name))
res.getByName(it->name).column = std::move(columns[i]);
++it;
}