From 2b2869e9980476cce2b5f4dbff055a48dbf00b44 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 5 Aug 2018 10:10:08 +0300 Subject: [PATCH] Merging #2226 --- dbms/src/Storages/StorageMerge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/StorageMerge.cpp b/dbms/src/Storages/StorageMerge.cpp index 3849aec3f77..6b8392a0942 100644 --- a/dbms/src/Storages/StorageMerge.cpp +++ b/dbms/src/Storages/StorageMerge.cpp @@ -280,7 +280,7 @@ BlockInputStreams StorageMerge::read( case QueryProcessingStage::Complete: header = materializeBlock(InterpreterSelectQuery( query_info.query, context, std::make_shared(getSampleBlockForColumns(column_names)), - processed_stage_in_source_table, true).getSampleBlock()); + processed_stage, true).getSampleBlock()); break; } }