ClickHouse/src/Parsers/ASTCollation.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
447 B
C++
Raw Normal View History

2022-04-14 16:12:31 +00:00
#include <Parsers/ASTCollation.h>
namespace DB
{
ASTPtr ASTCollation::clone() const
{
auto res = std::make_shared<ASTCollation>(*this);
res->collation = collation->clone();
2022-04-14 16:12:31 +00:00
return res;
}
void ASTCollation::formatImpl(const FormatSettings &s, FormatState &state, FormatStateStacked frame) const
{
if (collation)
{
collation->formatImpl(s, state, frame);
}
}
}