Merge pull request #30521 from azat/local-fix

clickhouse-local: fix block lost in interactive mode
This commit is contained in:
Kseniia Sumarokova 2021-10-22 14:49:39 +03:00 committed by GitHub
commit 5a60d9a3a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,13 +285,6 @@ bool LocalConnection::poll(size_t)
return true;
}
if (send_progress && !state->sent_progress)
{
state->sent_progress = true;
next_packet_type = Protocol::Server::Progress;
return true;
}
if (state->block && state->block.value())
{
next_packet_type = Protocol::Server::Data;