mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Fix clang-7 warnings
This commit is contained in:
parent
994926e568
commit
8c640f54f8
@ -1037,7 +1037,7 @@ private:
|
|||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
Stopwatch watch(CLOCK_MONOTONIC_COARSE);
|
Stopwatch receive_watch(CLOCK_MONOTONIC_COARSE);
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
@ -1062,7 +1062,7 @@ private:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
double elapsed = watch.elapsedSeconds();
|
double elapsed = receive_watch.elapsedSeconds();
|
||||||
if (elapsed > receive_timeout.totalSeconds())
|
if (elapsed > receive_timeout.totalSeconds())
|
||||||
{
|
{
|
||||||
std::cout << "Timeout exceeded while receiving data from server."
|
std::cout << "Timeout exceeded while receiving data from server."
|
||||||
|
Loading…
Reference in New Issue
Block a user