mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix compile error
This commit is contained in:
parent
a1fb0ad706
commit
144fd4082b
@ -74,9 +74,9 @@ void ASTAlterCommand::formatImpl(const FormatSettings & settings, FormatState &
|
||||
if (format_alter_commands_with_parentheses)
|
||||
{
|
||||
settings.ostr << "(";
|
||||
closing_bracket_guard = make_scope_guard([&settings](){
|
||||
closing_bracket_guard = make_scope_guard(std::function<void(void)>([&settings](){
|
||||
settings.ostr << ")";
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
||||
if (type == ASTAlterCommand::ADD_COLUMN)
|
||||
|
Loading…
Reference in New Issue
Block a user