| 6595 | |
| 6596 | #ifdef SIGNALS_DONT_BREAK_READ |
| 6597 | inline void kill_broken_server() |
| 6598 | { |
| 6599 | /* hack to get around signals ignored in syscalls for problem OS's */ |
| 6600 | if (mysql_get_fd(unix_sock) == INVALID_SOCKET || |
| 6601 | (!opt_disable_networking && |
| 6602 | mysql_socket_getfd(base_ip_sock) == INVALID_SOCKET)) |
| 6603 | { |
| 6604 | select_thread_in_use = 0; |
| 6605 | /* The following call will never return */ |
| 6606 | DBUG_PRINT("general", ("killing server because socket is closed")); |
| 6607 | kill_server((void*) MYSQL_KILL_SIGNAL); |
| 6608 | } |
| 6609 | } |
| 6610 | #define MAYBE_BROKEN_SYSCALL kill_broken_server(); |
| 6611 | #else |
| 6612 | #define MAYBE_BROKEN_SYSCALL |
nothing calls this directly
no outgoing calls
no test coverage detected