From c7bf01fa33fa1f8043f97b40fe55d5acb641ca14 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Thu, 1 Apr 2021 16:08:18 +0300 Subject: [PATCH] typo --- src/Storages/System/StorageSystemClusters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/System/StorageSystemClusters.cpp b/src/Storages/System/StorageSystemClusters.cpp index 01e30ed9726..e20ce233190 100644 --- a/src/Storages/System/StorageSystemClusters.cpp +++ b/src/Storages/System/StorageSystemClusters.cpp @@ -37,7 +37,7 @@ void StorageSystemClusters::fillData(MutableColumns & res_columns, const Context const auto databases = DatabaseCatalog::instance().getDatabases(); for (const auto & name_and_database : databases) { - if (const auto * replicated == typeid_cast(name_and_database.second.get())) + if (const auto * replicated = typeid_cast(name_and_database.second.get())) { // A quick fix for stateless tests with DatabaseReplicated. Its ZK // node can be destroyed at any time. If another test lists