1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Rename two occurences of net_set_*_timeout that has changed file

between 5.0 and 5.1 and thus missed the merge
This commit is contained in:
msvensson@pilot.blaudden
2007-05-24 20:57:10 +02:00
parent 5d22eb6552
commit b69026d273

View File

@@ -936,8 +936,8 @@ bool login_connection(THD *thd)
net->no_send_error= 0;
/* Use "connect_timeout" value during connection phase */
net_set_read_timeout(net, connect_timeout);
net_set_write_timeout(net, connect_timeout);
my_net_set_read_timeout(net, connect_timeout);
my_net_set_write_timeout(net, connect_timeout);
if ((error=check_connection(thd)))
{ // Wrong permissions
@@ -951,8 +951,8 @@ bool login_connection(THD *thd)
DBUG_RETURN(1);
}
/* Connect completed, set read/write timeouts back to default */
net_set_read_timeout(net, thd->variables.net_read_timeout);
net_set_write_timeout(net, thd->variables.net_write_timeout);
my_net_set_read_timeout(net, thd->variables.net_read_timeout);
my_net_set_write_timeout(net, thd->variables.net_write_timeout);
DBUG_RETURN(0);
}