From d7cae5ffb4a13cf3c455ad475c7022e035771d28 Mon Sep 17 00:00:00 2001 From: alesapin Date: Mon, 21 Feb 2022 11:54:52 +0300 Subject: [PATCH] Fix build --- src/Storages/AlterCommands.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Storages/AlterCommands.cpp b/src/Storages/AlterCommands.cpp index 96bcb20bb87..b4f179035b0 100644 --- a/src/Storages/AlterCommands.cpp +++ b/src/Storages/AlterCommands.cpp @@ -766,10 +766,9 @@ bool AlterCommand::isRequireMutationStage(const StorageInMemoryMetadata & metada if (type == DROP_INDEX || type == DROP_PROJECTION || type == RENAME_COLUMN) return true; - /// Drop alias is metadata alter, in other case mutation - /// is required. + /// Drop alias is metadata alter, in other case mutation is required. if (type == DROP_COLUMN) - return metadata->columns.hasPhysical(column_name); + return metadata.columns.hasPhysical(column_name); if (type != MODIFY_COLUMN || data_type == nullptr) return false;