diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 1434775cff3..02a775f64d1 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -657,6 +657,12 @@ static void close_connections(void) { DBUG_PRINT("quit",("Informing thread %ld that it's time to die", tmp->thread_id)); + /* + Re: bug 7403 - close_connection will be called mulitple times + bug a wholesale clean up of our network code is a very large + project. This will wake up the socket on Windows and prevent the + printing of the error message that we are force closing a connection. + */ close_connection(tmp, 0, 1); if (tmp->mysys_var) {