| 93 | } |
| 94 | |
| 95 | void IORoutine::ReleaseFD(int & fd) { |
| 96 | if (fd != -1) { |
| 97 | shutdown(fd, SHUT_RDWR); |
| 98 | close(fd); |
| 99 | fd = -1; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | void IORoutine::ClearAll() { |
| 104 | if (client_fd_ != -1 || sqlsvr_fd_ != -1) { |
nothing calls this directly
no outgoing calls
no test coverage detected