Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix double whitespace in exception message #48815

Merged
merged 1 commit into from
Apr 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/QueryPipeline/RemoteQueryExecutorReadContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ bool RemoteQueryExecutorReadContext::checkTimeout(bool blocking)
catch (DB::Exception & e)
{
if (last_used_socket)
e.addMessage(" while reading from socket ({})", last_used_socket->peerAddress().toString());
e.addMessage("while reading from socket ({})", last_used_socket->peerAddress().toString());
if (e.code() == ErrorCodes::SOCKET_TIMEOUT)
e.addMessage(" (receive timeout {} ms)", receive_timeout_usec / 1000);
e.addMessage("(receive timeout is {} ms)", receive_timeout_usec / 1000);
throw;
}
}
Expand Down
1 change: 0 additions & 1 deletion src/Storages/PartitionedSink.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class PartitionedSink : public SinkToStorage
Arena partition_keys_arena;

SinkPtr getSinkForPartitionKey(StringRef partition_key);

};

}