From 81ca8e91e600b6f56255b9f32ce17f65ec244aac Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sun, 20 Nov 2022 14:27:52 +0300 Subject: [PATCH] Update StorageSystemDataSkippingIndices.cpp --- src/Storages/System/StorageSystemDataSkippingIndices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storages/System/StorageSystemDataSkippingIndices.cpp b/src/Storages/System/StorageSystemDataSkippingIndices.cpp index 15561a87394..7040eefd397 100644 --- a/src/Storages/System/StorageSystemDataSkippingIndices.cpp +++ b/src/Storages/System/StorageSystemDataSkippingIndices.cpp @@ -127,7 +127,7 @@ protected: // 'index_expr' column if (column_mask[src_index++]) { - if (auto expression = index.definition_ast->as()) + if (auto * expression = index.definition_ast->as()) res_columns[res_index++]->insert(queryToString(expression->type->clone())); else res_columns[res_index++]->insertDefault();