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;