mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix build
This commit is contained in:
parent
852757219f
commit
d7cae5ffb4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user