Skip to content

Commit

Permalink
Backport ClickHouse#26210 to 21.8: Fix excessive newline in `system.s…
Browse files Browse the repository at this point in the history
…tack_trace`
  • Loading branch information
robot-clickhouse committed Jul 11, 2021
1 parent e8cc765 commit c7f5ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storages/System/StorageSystemStackTrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void StorageSystemStackTrace::fillData(MutableColumns & res_columns, ContextPtr,
{
constexpr size_t comm_buf_size = 32; /// More than enough for thread name
ReadBufferFromFile comm(thread_name_path.string(), comm_buf_size);
readStringUntilEOF(thread_name, comm);
readEscapedStringUntilEOL(thread_name, comm);
comm.close();
}

Expand Down

0 comments on commit c7f5ba1

Please sign in to comment.