Don't use same headers for main and totals streams in QueryPipeline.

This commit is contained in:
Nikolai Kochetov 2019-04-25 17:52:51 +03:00
parent d613716dc5
commit e8e5164d9d

View File

@ -120,7 +120,7 @@ void QueryPipeline::addSimpleTransformImpl(const TProcessorGetter & getter)
if (!stream)
return;
auto transform = callProcessorGetter(current_header, getter, stream_type);
auto transform = callProcessorGetter(stream->getHeader(), getter, stream_type);
if (transform)
{