mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
fixup
This commit is contained in:
parent
33c5815eb3
commit
9cf2a38eb8
@ -861,12 +861,12 @@ private:
|
|||||||
// We didn't read enough text to parse a query. Will read more.
|
// We didn't read enough text to parse a query. Will read more.
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!connection->ping())
|
// Ensure that we're still connected to the server. If the server died,
|
||||||
{
|
// the reconnect is going to fail with an exception, and the fuzzer
|
||||||
// Uh-oh...
|
// will exit. The ping() would be the best match here, but it's
|
||||||
last_exception_received_from_server = std::make_unique<Exception>(210, "Lost connection to the server.");
|
// private, probably for a good reason that the protocol doesn't allow
|
||||||
return;
|
// pings at any possible moment.
|
||||||
}
|
connection->forceConnected(connection_parameters.timeouts);
|
||||||
|
|
||||||
if (text.size() > 4 * 1024)
|
if (text.size() > 4 * 1024)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user