mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Addition to prev. revision [#CLICKHOUSE-2].
This commit is contained in:
parent
ef5b9a8c5c
commit
b35bc57fdc
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user