mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
dbms: addition to prev. revision [#CONV-8224].
This commit is contained in:
parent
67f4542bd0
commit
9f1c0a69bf
@ -39,7 +39,7 @@ protected:
|
||||
}
|
||||
|
||||
if (bytes_read < 0)
|
||||
throw Exception("Cannot read from socket", ErrorCodes::CANNOT_READ_FROM_SOCKET);
|
||||
throw Exception("Cannot read from socket (" + socket.address().toString() + ")", ErrorCodes::CANNOT_READ_FROM_SOCKET);
|
||||
|
||||
if (bytes_read)
|
||||
working_buffer.resize(bytes_read);
|
||||
|
@ -45,7 +45,7 @@ protected:
|
||||
}
|
||||
|
||||
if (res < 0)
|
||||
throw Exception("Cannot write to socket", ErrorCodes::CANNOT_WRITE_TO_SOCKET);
|
||||
throw Exception("Cannot write to socket (" + socket.address().toString() + ")", ErrorCodes::CANNOT_WRITE_TO_SOCKET);
|
||||
bytes_written += res;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user