mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
Add default branch to compressed_decimals read
This commit is contained in:
parent
939bc413ba
commit
8090cf1a00
@ -75,9 +75,7 @@ void MySQLClient::handshake()
|
|||||||
packet_sender->receivePacket(packet_response);
|
packet_sender->receivePacket(packet_response);
|
||||||
packet_sender->resetSequenceId();
|
packet_sender->resetSequenceId();
|
||||||
if (packet_response.getType() == PACKET_ERR)
|
if (packet_response.getType() == PACKET_ERR)
|
||||||
{
|
|
||||||
throw MySQLClientError(packet_response.err.error_message, ErrorCodes::UNKNOWN_PACKET_FROM_SERVER);
|
throw MySQLClientError(packet_response.err.error_message, ErrorCodes::UNKNOWN_PACKET_FROM_SERVER);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MySQLClient::writeCommand(char command, String query)
|
void MySQLClient::writeCommand(char command, String query)
|
||||||
|
@ -573,6 +573,8 @@ namespace MySQLReplication
|
|||||||
readBigEndianStrict(reader, reinterpret_cast<char *>(&val), 4);
|
readBigEndianStrict(reader, reinterpret_cast<char *>(&val), 4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
format += std::to_string(val);
|
format += std::to_string(val);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user