mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-25 19:20:52 +00:00
Don't ask client to send write info byte if the version cannot handle it
This commit is contained in:
parent
1ae8948177
commit
9c295fa524
@ -19,7 +19,7 @@ void ProgressValues::read(ReadBuffer & in, UInt64 server_revision)
|
||||
readVarUInt(new_rows, in);
|
||||
readVarUInt(new_bytes, in);
|
||||
readVarUInt(new_total_rows, in);
|
||||
if (DBMS_MIN_REVISION_WITH_CLIENT_WRITE_INFO >= server_revision)
|
||||
if (server_revision >= DBMS_MIN_REVISION_WITH_CLIENT_WRITE_INFO)
|
||||
{
|
||||
readVarUInt(new_write_rows, in);
|
||||
readVarUInt(new_write_bytes, in);
|
||||
|
Loading…
Reference in New Issue
Block a user