summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorreggie@linux.site <>2005-07-15 12:15:45 -0600
committerreggie@linux.site <>2005-07-15 12:15:45 -0600
commit95a5c8ef491b8b1be3efd3cf6b15753736a56e8f (patch)
tree5fb32134a1a7981a6d580552ddbb29e53db6fd92 /sql
parentaa032356e26466f271e8647056a5ee53e27865e4 (diff)
parentf9adcc3cac5c1fe308e50dc4b4ea0ffd340a9418 (diff)
downloadmariadb-git-95a5c8ef491b8b1be3efd3cf6b15753736a56e8f.tar.gz
Merge linux.site:/home/reggie/bk/bug7403
into linux.site:/home/reggie/bk/mysql-5.0
Diffstat (limited to 'sql')
-rw-r--r--sql/mysqld.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 78d9af387da..a9a81b47cda 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -685,7 +685,13 @@ static void close_connections(void)
{
DBUG_PRINT("quit",("Informing thread %ld that it's time to die",
tmp->thread_id));
- tmp->killed= THD::KILL_CONNECTION;
+ /*
+ 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)
{
tmp->mysys_var->abort=1;