From 7478159d868d7227827e359d114f423b2ac9c584 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Sat, 6 Mar 2021 16:06:58 +0300 Subject: [PATCH] fix logs --- src/Storages/MergeTree/MergeTreeRangeReader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Storages/MergeTree/MergeTreeRangeReader.cpp b/src/Storages/MergeTree/MergeTreeRangeReader.cpp index d5808bca1c5..cb107c5f7d6 100644 --- a/src/Storages/MergeTree/MergeTreeRangeReader.cpp +++ b/src/Storages/MergeTree/MergeTreeRangeReader.cpp @@ -525,11 +525,11 @@ MergeTreeRangeReader::MergeTreeRangeReader( , last_reader_in_chain(last_reader_in_chain_) , is_initialized(true) { - if (prewhere_) + if (prewhere_info_) { - Poco::Logger::get("PREWHERE").information(prewhere_->prewhere_column_name); - Poco::Logger::get("PREWHERE").information(prewhere_->prewhere_actions->dumpActions()); - Poco::Logger::get("PREWHERE rm?").information(std::to_string(prewhere_->remove_prewhere_column)); + Poco::Logger::get("PREWHERE").information(prewhere_info_->prewhere_column_name); + Poco::Logger::get("PREWHERE").information(prewhere_info_->prewhere_actions->dumpActions()); + Poco::Logger::get("PREWHERE rm?").information(std::to_string(prewhere_info_->remove_prewhere_column)); } if (prev_reader) sample_block = prev_reader->getSampleBlock();