提交 df5e85bb 编写于 作者: A Alexey Milovidov

Addition [#METR-21884].

上级 4d4ab075
......@@ -138,6 +138,12 @@ void ASTAlterQuery::formatImpl(const FormatSettings & settings, FormatState & st
{
settings.ostr << (settings.hilite ? hilite_keyword : "") << indent_str << "FREEZE PARTITION " << (settings.hilite ? hilite_none : "");
p.partition->formatImpl(settings, state, frame);
if (!p.with_name.empty())
{
settings.ostr << " " << (settings.hilite ? hilite_keyword : "") << "WITH NAME" << (settings.hilite ? hilite_none : "")
<< " " << mysqlxx::quote << p.with_name;
}
}
else if (p.type == ASTAlterQuery::RESHARD_PARTITION)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册