mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
This reverts commitbd1f8fe97a
, reversing changes made to5d1091bfee
.
This commit is contained in:
parent
2e7f3f6e17
commit
6291c4098f
@ -38,6 +38,7 @@ public:
|
||||
ColumnsDescription(const ColumnsDescription & other);
|
||||
ColumnsDescription & operator=(const ColumnsDescription & other);
|
||||
ColumnsDescription(ColumnsDescription &&) noexcept = default;
|
||||
ColumnsDescription & operator=(ColumnsDescription &&) noexcept = default;
|
||||
|
||||
/// `after_column` can be a Nested column name;
|
||||
void add(ColumnDescription column, const String & after_column = String());
|
||||
|
@ -28,7 +28,7 @@ void ITableDeclaration::setColumns(ColumnsDescription columns_)
|
||||
{
|
||||
if (columns_.getOrdinary().empty())
|
||||
throw Exception("Empty list of columns passed", ErrorCodes::EMPTY_LIST_OF_COLUMNS_PASSED);
|
||||
columns = columns_;
|
||||
columns = std::move(columns_);
|
||||
}
|
||||
|
||||
void ITableDeclaration::setIndicesDescription(IndicesDescription indices_)
|
||||
|
Loading…
Reference in New Issue
Block a user