mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Fix
This commit is contained in:
parent
06de1adebc
commit
c1b5ac52ab
@ -1326,9 +1326,13 @@ bool ClientBase::receiveEndOfQuery()
|
||||
onProgress(packet.progress);
|
||||
break;
|
||||
|
||||
case Protocol::Server::ProfileEvents:
|
||||
onProfileEvents(packet.block);
|
||||
break;
|
||||
|
||||
default:
|
||||
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)) + ")",
|
||||
ErrorCodes::UNEXPECTED_PACKET_FROM_SERVER);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user