Fix formatting of SETTINGS clause of the INSERT query

This commit is contained in:
Azat Khuzhin 2020-11-25 21:31:08 +03:00
parent 3ab9ac03df
commit 36dc23668d

View File

@ -60,7 +60,7 @@ void ASTInsertQuery::formatImpl(const FormatSettings & settings, FormatState & s
if (settings_ast)
{
settings.ostr << (settings.hilite ? hilite_keyword : "") << "SETTINGS " << (settings.hilite ? hilite_none : "");
settings.ostr << (settings.hilite ? hilite_keyword : "") << settings.nl_or_ws << "SETTINGS " << (settings.hilite ? hilite_none : "");
settings_ast->formatImpl(settings, state, frame);
}
}