This commit is contained in:
Alexey Milovidov 2021-07-11 03:34:00 +03:00
parent 103b860555
commit 4df8de76c8

View File

@ -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();
}