mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add assert
This commit is contained in:
parent
0967bfadd1
commit
3dfa32498c
@ -94,6 +94,8 @@ void TimerDescriptor::drain() const
|
|||||||
|
|
||||||
throw ErrnoException(ErrorCodes::CANNOT_READ_FROM_SOCKET, "Cannot drain timer_fd");
|
throw ErrnoException(ErrorCodes::CANNOT_READ_FROM_SOCKET, "Cannot drain timer_fd");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(res == sizeof(buf));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user