mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Fix ASTQualifiedAsterisk cloning
This commit is contained in:
parent
9f4658151e
commit
bacfe7ffa5
@ -17,8 +17,13 @@ public:
|
|||||||
ASTPtr clone() const override
|
ASTPtr clone() const override
|
||||||
{
|
{
|
||||||
auto clone = std::make_shared<ASTQualifiedAsterisk>(*this);
|
auto clone = std::make_shared<ASTQualifiedAsterisk>(*this);
|
||||||
|
clone->children.clear();
|
||||||
|
|
||||||
if (transformers) { clone->transformers = transformers->clone(); clone->children.push_back(clone->transformers); }
|
if (transformers)
|
||||||
|
{
|
||||||
|
clone->transformers = transformers->clone();
|
||||||
|
clone->children.push_back(clone->transformers);
|
||||||
|
}
|
||||||
|
|
||||||
clone->qualifier = qualifier->clone();
|
clone->qualifier = qualifier->clone();
|
||||||
clone->children.push_back(clone->qualifier);
|
clone->children.push_back(clone->qualifier);
|
||||||
|
Loading…
Reference in New Issue
Block a user