mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Fix comments bug
This commit is contained in:
parent
f7a397242f
commit
6f673b0981
@ -382,8 +382,8 @@ void IStorage::alter(
|
||||
auto table_id = getStorageID();
|
||||
StorageInMemoryMetadata old_metadata = getInMemoryMetadata();
|
||||
params.apply(old_metadata, context);
|
||||
DatabaseCatalog::instance().getDatabase(table_id.database_name)->alterTable(context, table_id, metadata);
|
||||
setColumns(std::move(metadata.columns));
|
||||
DatabaseCatalog::instance().getDatabase(table_id.database_name)->alterTable(context, table_id, old_metadata);
|
||||
setColumns(std::move(old_metadata.columns));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user