mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
fix double params
This commit is contained in:
parent
60648b3d49
commit
a908576033
@ -67,6 +67,8 @@ ASTPtr ASTDictionaryLayout::clone() const
|
|||||||
auto res = std::make_shared<ASTDictionaryLayout>(*this);
|
auto res = std::make_shared<ASTDictionaryLayout>(*this);
|
||||||
res->children.clear();
|
res->children.clear();
|
||||||
res->layout_type = layout_type;
|
res->layout_type = layout_type;
|
||||||
|
res->parameters.clear();
|
||||||
|
res->has_brackets = has_brackets;
|
||||||
for (const auto & parameter : parameters)
|
for (const auto & parameter : parameters)
|
||||||
{
|
{
|
||||||
res->parameters.emplace_back(parameter.first, nullptr);
|
res->parameters.emplace_back(parameter.first, nullptr);
|
||||||
|
Loading…
Reference in New Issue
Block a user