mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
Code style 2.0
This commit is contained in:
parent
a8f1d689aa
commit
254fde8f3a
@ -437,7 +437,8 @@ void PrettyBlockOutputFormat::writeValueWithPadding(
|
|||||||
serialization.serializeText(column, row_num, out_serialize, format_settings);
|
serialization.serializeText(column, row_num, out_serialize, format_settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (size_t line_breake_pos = serialized_value.find_first_of('\n'); line_breake_pos != String::npos) {
|
if (size_t line_breake_pos = serialized_value.find_first_of('\n'); line_breake_pos != String::npos)
|
||||||
|
{
|
||||||
has_line_breake = true;
|
has_line_breake = true;
|
||||||
serialized_value = serialized_value.substr(0, line_breake_pos) + "…";
|
serialized_value = serialized_value.substr(0, line_breake_pos) + "…";
|
||||||
value_width = serialized_value.size() - 3;
|
value_width = serialized_value.size() - 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user