mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-12-02 03:47:41 +08:00
Don't record pengding event warings when using libev
This commit is contained in:
parent
1944ea1521
commit
36abea87de
@ -4095,7 +4095,7 @@ network_mysqld_con_handle(int event_fd, short events, void *user_data)
|
||||
}
|
||||
} else if (events & EV_WRITE) {
|
||||
g_critical(G_STRLOC "write events:%d, unexpected events", events);
|
||||
} else if (events != EV_TIMEOUT) {
|
||||
} else if (events && events != EV_TIMEOUT) {
|
||||
g_critical(G_STRLOC "not rw events:%d, unexpected events", events);
|
||||
}
|
||||
|
||||
@ -5135,7 +5135,6 @@ check_old_server_connection(gpointer data, gpointer user_data)
|
||||
network_connection_pool_entry *entry = data;
|
||||
chassis *chas = user_data;
|
||||
|
||||
chas->complement_conn_flag = 1;
|
||||
network_connection_pool_remove(entry);
|
||||
g_message("%s: call check_old_server_connection", G_STRLOC);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user