Fix totals without having.

This commit is contained in:
Nikolai Kochetov 2019-04-08 20:02:18 +03:00
parent 61a9b9738a
commit 4d1c3c63e9

View File

@ -153,6 +153,7 @@ void TotalsHavingTransform::transform(Chunk & chunk)
if (filter_column_name.empty())
{
addToTotals(chunk, nullptr);
chunk = std::move(finalized);
}
else
{