Addition to prev. revision [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-03-13 22:35:46 +03:00
parent ef5b9a8c5c
commit b35bc57fdc

View File

@ -428,7 +428,7 @@ static void terminate_handler()
char buf[buf_size]; char buf[buf_size];
DB::WriteBufferFromFileDescriptor out(signal_pipe.write_fd, buf_size, buf); DB::WriteBufferFromFileDescriptor out(signal_pipe.write_fd, buf_size, buf);
DB::writeBinary(SignalListener::StdTerminate, out); DB::writeBinary(static_cast<int>(SignalListener::StdTerminate), out);
DB::writeBinary(Poco::ThreadNumber::get(), out); DB::writeBinary(Poco::ThreadNumber::get(), out);
DB::writeBinary(log_message, out); DB::writeBinary(log_message, out);
out.next(); out.next();