Fixed error with Sets, part 2 #2246

This commit is contained in:
Alexey Milovidov 2018-04-20 00:36:58 +03:00
parent ce0ac3f8f8
commit 207a8cc03c

View File

@ -28,6 +28,8 @@ CreatingSetsBlockInputStream::CreatingSetsBlockInputStream(
if (elem.second.source) if (elem.second.source)
{ {
children.push_back(elem.second.source); children.push_back(elem.second.source);
if (elem.second.set)
elem.second.set->setHeader(elem.second.source->getHeader()); elem.second.set->setHeader(elem.second.source->getHeader());
} }
} }