Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitff2a196

Browse files
authored
Merge pull request#90737 from ClickHouse/backport/25.9/89740
Backport#89740 to 25.9: Avoid crash due to reading from remote server after disconnect in remote queries during cancellation
2 parentsdf7a56a +ae035ef commitff2a196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Client/Connection.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ void Connection::sendCancel()
10081008
{
10091009
/// If we already disconnected.
10101010
if (!out)
1011-
return;
1011+
throwException(ErrorCodes::NETWORK_ERROR,"Connection to {} terminated",getDescription());
10121012

10131013
writeVarUInt(Protocol::Client::Cancel, *out);
10141014
out->finishChunk();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp