mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Fix
This commit is contained in:
parent
06de1adebc
commit
c1b5ac52ab
@ -1326,9 +1326,13 @@ bool ClientBase::receiveEndOfQuery()
|
|||||||
onProgress(packet.progress);
|
onProgress(packet.progress);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Protocol::Server::ProfileEvents:
|
||||||
|
onProfileEvents(packet.block);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw NetException(
|
throw NetException(
|
||||||
"Unexpected packet from server (expected Exception, EndOfStream or Log, got "
|
"Unexpected packet from server (expected Exception, EndOfStream, Log, Progress or ProfileEvents. Got "
|
||||||
+ String(Protocol::Server::toString(packet.type)) + ")",
|
+ String(Protocol::Server::toString(packet.type)) + ")",
|
||||||
ErrorCodes::UNEXPECTED_PACKET_FROM_SERVER);
|
ErrorCodes::UNEXPECTED_PACKET_FROM_SERVER);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user