Fix build.

This commit is contained in:
Nikolai Kochetov 2021-04-19 21:36:45 +03:00
parent f6bdd35943
commit 394cca2434

View File

@ -1478,6 +1478,7 @@ void TCPHandler::sendData(const Block & block)
writeStringBinary("", *out); writeStringBinary("", *out);
/// For testing hedged requests /// For testing hedged requests
const Settings & settings = query_context->getSettingsRef();
if (block.rows() > 0 && settings.sleep_in_send_data_ms.totalMilliseconds()) if (block.rows() > 0 && settings.sleep_in_send_data_ms.totalMilliseconds())
{ {
out->next(); out->next();