Commit 990c5857 authored by rburnett@build.mysql.com's avatar rburnett@build.mysql.com

Merge rburnett@bk-internal.mysql.com:/home/bk/mysql-4.1

into build.mysql.com:/users/rburnett/mysql-4.1
parents 32f2674a 680aa3d6
...@@ -133,6 +133,7 @@ static void mysql_close_free(MYSQL *mysql); ...@@ -133,6 +133,7 @@ static void mysql_close_free(MYSQL *mysql);
static int wait_for_data(my_socket fd, uint timeout); static int wait_for_data(my_socket fd, uint timeout);
#endif #endif
/**************************************************************************** /****************************************************************************
A modified version of connect(). my_connect() allows you to specify A modified version of connect(). my_connect() allows you to specify
a timeout value, in seconds, that we should wait until we a timeout value, in seconds, that we should wait until we
......
...@@ -3056,6 +3056,9 @@ dump"); ...@@ -3056,6 +3056,9 @@ dump");
} }
thd->proc_info= "Waiting to reconnect after a failed binlog dump request"; thd->proc_info= "Waiting to reconnect after a failed binlog dump request";
#ifdef SIGNAL_WITH_VIO_CLOSE
thd->clear_active_vio();
#endif
end_server(mysql); end_server(mysql);
/* /*
First time retry immediately, assuming that we can recover First time retry immediately, assuming that we can recover
...@@ -3129,6 +3132,9 @@ max_allowed_packet", ...@@ -3129,6 +3132,9 @@ max_allowed_packet",
goto err; goto err;
} }
thd->proc_info = "Waiting to reconnect after a failed master event read"; thd->proc_info = "Waiting to reconnect after a failed master event read";
#ifdef SIGNAL_WITH_VIO_CLOSE
thd->clear_active_vio();
#endif
end_server(mysql); end_server(mysql);
if (retry_count++) if (retry_count++)
{ {
...@@ -4383,4 +4389,5 @@ template class I_List_iterator<i_string>; ...@@ -4383,4 +4389,5 @@ template class I_List_iterator<i_string>;
template class I_List_iterator<i_string_pair>; template class I_List_iterator<i_string_pair>;
#endif #endif
#endif /* HAVE_REPLICATION */ #endif /* HAVE_REPLICATION */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment