mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fix ASTAlterCommand::formatImpl
in case of column specific settings modifications
This commit is contained in:
parent
7e77c52c75
commit
1a4f56a61a
@ -104,6 +104,14 @@ void ASTAlterCommand::formatImpl(const FormatSettings & settings, FormatState &
|
||||
{
|
||||
settings.ostr << (settings.hilite ? hilite_keyword : "") << " REMOVE " << remove_property;
|
||||
}
|
||||
else if (settings_changes) {
|
||||
settings.ostr << (settings.hilite ? hilite_keyword : "") << "MODIFY SETTING " << (settings.hilite ? hilite_none : "");
|
||||
settings_changes->formatImpl(settings, state, frame);
|
||||
}
|
||||
else if (settings_resets) {
|
||||
settings.ostr << (settings.hilite ? hilite_keyword : "") << "RESET SETTING " << (settings.hilite ? hilite_none : "");
|
||||
settings_resets->formatImpl(settings, state, frame);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (first)
|
||||
|
Loading…
Reference in New Issue
Block a user