mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
ASTLiteral clone only value
This commit is contained in:
parent
540fafbe74
commit
a7fa253ccf
@ -39,7 +39,7 @@ public:
|
||||
/** Get the text that identifies this element. */
|
||||
String getID(char delim) const override { return "Literal" + (delim + applyVisitor(FieldVisitorDump(), value)); }
|
||||
|
||||
ASTPtr clone() const override { return std::make_shared<ASTLiteral>(*this); }
|
||||
ASTPtr clone() const override { return std::make_shared<ASTLiteral>(value); }
|
||||
|
||||
void updateTreeHashImpl(SipHash & hash_state) const override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user