mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
fix concurrent select from system.parts_columns
This commit is contained in:
parent
927b5a432e
commit
60ab3294b1
@ -63,7 +63,7 @@ void StorageSystemPartsColumns::processNextStorage(MutableColumns & columns, con
|
||||
|
||||
NamesAndTypesList columns_list = info.storage->getColumnsList();
|
||||
columns_list.insert(std::end(columns_list), std::begin(info.storage->alias_columns), std::end(info.storage->alias_columns));
|
||||
column_defaults = info.storage->column_defaults;
|
||||
const auto & column_defaults = info.storage->column_defaults;
|
||||
std::unordered_map<String, ColumnInfo> columns_info;
|
||||
|
||||
for (const auto & column : columns_list)
|
||||
|
Loading…
Reference in New Issue
Block a user