dbms: SplittingAggregator: fixed error [#METR-2944].

This commit is contained in:
Alexey Milovidov 2013-11-03 06:39:13 +00:00
parent 5954b96c81
commit 1c4b47fea2

View File

@ -140,6 +140,9 @@ void SplittingAggregator::execute(BlockInputStreamPtr stream, ManyAggregatedData
void SplittingAggregator::convertToBlocks(ManyAggregatedDataVariants & data_variants, Blocks & blocks)
{
if (data_variants.empty())
return;
blocks.resize(data_variants.size());
Exceptions exceptions(threads);