Merge branch 'system-stack-trace-fix' into ditch-aio

This commit is contained in:
Alexey Milovidov 2021-07-11 03:35:26 +03:00
commit 002e648183

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