mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
fixup
This commit is contained in:
parent
fb64cf210a
commit
fd33fa7f39
@ -927,7 +927,7 @@ void TCPHandler::receiveQuery()
|
|||||||
|
|
||||||
/// Interserver secret.
|
/// Interserver secret.
|
||||||
std::string received_hash;
|
std::string received_hash;
|
||||||
if (client_revision >= DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET)
|
if (client_tcp_protocol_version >= DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET)
|
||||||
{
|
{
|
||||||
readStringBinary(received_hash, *in, 32);
|
readStringBinary(received_hash, *in, 32);
|
||||||
}
|
}
|
||||||
@ -1019,7 +1019,7 @@ void TCPHandler::receiveUnexpectedQuery()
|
|||||||
skip_settings.read(*in, settings_format);
|
skip_settings.read(*in, settings_format);
|
||||||
|
|
||||||
std::string skip_hash;
|
std::string skip_hash;
|
||||||
bool interserver_secret = client_revision >= DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET;
|
bool interserver_secret = client_tcp_protocol_version >= DBMS_MIN_REVISION_WITH_INTERSERVER_SECRET;
|
||||||
if (interserver_secret)
|
if (interserver_secret)
|
||||||
readStringBinary(skip_hash, *in, 32);
|
readStringBinary(skip_hash, *in, 32);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user