Commit 9d225361 authored by msvensson@pilot.blaudden's avatar msvensson@pilot.blaudden

Merge pilot.blaudden:/home/msvensson/mysql/bug26664/my51-bug26664

into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-new-maint
parents cd57ecbd b69026d2
...@@ -936,8 +936,8 @@ bool login_connection(THD *thd) ...@@ -936,8 +936,8 @@ bool login_connection(THD *thd)
net->no_send_error= 0; net->no_send_error= 0;
/* Use "connect_timeout" value during connection phase */ /* Use "connect_timeout" value during connection phase */
net_set_read_timeout(net, connect_timeout); my_net_set_read_timeout(net, connect_timeout);
net_set_write_timeout(net, connect_timeout); my_net_set_write_timeout(net, connect_timeout);
if ((error=check_connection(thd))) if ((error=check_connection(thd)))
{ // Wrong permissions { // Wrong permissions
...@@ -951,8 +951,8 @@ bool login_connection(THD *thd) ...@@ -951,8 +951,8 @@ bool login_connection(THD *thd)
DBUG_RETURN(1); DBUG_RETURN(1);
} }
/* Connect completed, set read/write timeouts back to default */ /* Connect completed, set read/write timeouts back to default */
net_set_read_timeout(net, thd->variables.net_read_timeout); my_net_set_read_timeout(net, thd->variables.net_read_timeout);
net_set_write_timeout(net, thd->variables.net_write_timeout); my_net_set_write_timeout(net, thd->variables.net_write_timeout);
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
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