From 0b3c071eb986af5913ac23fb973653c3f2217412 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 8 Jun 2015 23:19:28 +0300 Subject: [PATCH] dbms: removed useless code [#METR-16739]. --- dbms/include/DB/DataStreams/BlockStreamProfileInfo.h | 2 -- dbms/src/DataStreams/BlockStreamProfileInfo.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/dbms/include/DB/DataStreams/BlockStreamProfileInfo.h b/dbms/include/DB/DataStreams/BlockStreamProfileInfo.h index df387e555c5..036aedc3a98 100644 --- a/dbms/include/DB/DataStreams/BlockStreamProfileInfo.h +++ b/dbms/include/DB/DataStreams/BlockStreamProfileInfo.h @@ -29,8 +29,6 @@ struct BlockStreamProfileInfo using BlockStreamProfileInfos = std::vector; BlockStreamProfileInfos nested_infos; - String column_names; - /// Собрать BlockStreamProfileInfo для ближайших в дереве источников с именем name. Пример; собрать все info для PartialSorting stream-ов. void collectInfosForStreamsWithName(const char * name, BlockStreamProfileInfos & res) const; diff --git a/dbms/src/DataStreams/BlockStreamProfileInfo.cpp b/dbms/src/DataStreams/BlockStreamProfileInfo.cpp index a2e61cce364..ee8f5a5a409 100644 --- a/dbms/src/DataStreams/BlockStreamProfileInfo.cpp +++ b/dbms/src/DataStreams/BlockStreamProfileInfo.cpp @@ -52,9 +52,6 @@ void BlockStreamProfileInfo::update(Block & block) ++blocks; rows += block.rowsInFirstColumn(); bytes += block.bytes(); - - if (column_names.empty()) - column_names = block.dumpNames(); }