mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
#58363 - fix style check failing attempt no.2
This commit is contained in:
parent
0fdba3b83d
commit
ce012d217f
@ -269,7 +269,7 @@ struct FormatSettings
|
||||
UInt64 max_rows = 10000;
|
||||
UInt64 max_column_pad_width = 250;
|
||||
UInt64 max_value_width = 10000;
|
||||
SettingFieldUInt64Auto color{"auto"};
|
||||
SettingFieldUInt64Auto color{"auto"};
|
||||
|
||||
bool output_format_pretty_row_numbers = false;
|
||||
|
||||
|
@ -55,7 +55,7 @@ protected:
|
||||
total_rows = 0;
|
||||
}
|
||||
|
||||
bool color;
|
||||
bool color;
|
||||
|
||||
private:
|
||||
bool mono_block;
|
||||
@ -73,7 +73,7 @@ void registerPrettyFormatWithNoEscapesAndMonoBlock(FormatFactory & factory, cons
|
||||
const Block & sample,
|
||||
const FormatSettings & format_settings)
|
||||
{
|
||||
bool color = !no_escapes && format_settings.pretty.color.valueOr(isWritingToTerminal(buf));
|
||||
bool color = !no_escapes && format_settings.pretty.color.valueOr(isWritingToTerminal(buf));
|
||||
return std::make_shared<OutputFormat>(buf, sample, format_settings, mono_block, color);
|
||||
});
|
||||
if (!mono_block)
|
||||
|
Loading…
Reference in New Issue
Block a user