Skip to content

Commit

Permalink
Fixed error with Sets, part 2 ClickHouse#2246
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Apr 19, 2018
1 parent ce0ac3f commit 207a8cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dbms/src/DataStreams/CreatingSetsBlockInputStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ CreatingSetsBlockInputStream::CreatingSetsBlockInputStream(
if (elem.second.source)
{
children.push_back(elem.second.source);
elem.second.set->setHeader(elem.second.source->getHeader());

if (elem.second.set)
elem.second.set->setHeader(elem.second.source->getHeader());
}
}

Expand Down

0 comments on commit 207a8cc

Please sign in to comment.