mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Merge pull request #21544 from nicelulu/fix_fd_ready
Fix incorrect fd_ready assignment in NuKeeperTCPHandler.
This commit is contained in:
commit
bbfb6c385d
@ -158,7 +158,7 @@ struct SocketInterruptablePollWrapper
|
||||
|
||||
if (rc >= 1 && poll_buf[0].revents & POLLIN)
|
||||
socket_ready = true;
|
||||
if (rc == 2 && poll_buf[1].revents & POLLIN)
|
||||
if (rc >= 1 && poll_buf[1].revents & POLLIN)
|
||||
fd_ready = true;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user