From 9654e06ec8fa32c31aca6cf52ad3dd4f40140189 Mon Sep 17 00:00:00 2001 From: Alfonso Martinez Date: Fri, 9 Dec 2022 09:30:20 +0100 Subject: [PATCH] Fixed merge issue --- src/Processors/Transforms/buildPushingToViewsChain.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Processors/Transforms/buildPushingToViewsChain.cpp b/src/Processors/Transforms/buildPushingToViewsChain.cpp index 4af8d0d65a4..1be05135fe4 100644 --- a/src/Processors/Transforms/buildPushingToViewsChain.cpp +++ b/src/Processors/Transforms/buildPushingToViewsChain.cpp @@ -311,10 +311,9 @@ Chain buildPushingToViewsChain( if (lock == nullptr) { // In case the materialized view is dropped at this point, we register a warning and ignore it - assert(materialized_view->is_dropped) LOG_WARNING( - &Poco::Logger::get("PushingToViews"), - "Trying to access table {} but it doesn't exist", - database_table.getFullTableName()); + assert(materialized_view->is_dropped); + LOG_WARNING( + &Poco::Logger::get("PushingToViews"), "Trying to access table {} but it doesn't exist", view_id.getFullTableName()); continue; }