mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Small adjustements to threadpool
This commit is contained in:
parent
468104567f
commit
a5a22e9f64
9 changed files with 14 additions and 13 deletions
|
|
@ -1159,6 +1159,8 @@ void my_net_set_read_timeout(NET *net, uint timeout)
|
|||
{
|
||||
DBUG_ENTER("my_net_set_read_timeout");
|
||||
DBUG_PRINT("enter", ("timeout: %d", timeout));
|
||||
if(net->read_timeout == timeout)
|
||||
DBUG_VOID_RETURN;
|
||||
net->read_timeout= timeout;
|
||||
#ifdef NO_ALARM
|
||||
if (net->vio)
|
||||
|
|
@ -1172,6 +1174,8 @@ void my_net_set_write_timeout(NET *net, uint timeout)
|
|||
{
|
||||
DBUG_ENTER("my_net_set_write_timeout");
|
||||
DBUG_PRINT("enter", ("timeout: %d", timeout));
|
||||
if(net->write_timeout == timeout)
|
||||
DBUG_VOID_RETURN;
|
||||
net->write_timeout= timeout;
|
||||
#ifdef NO_ALARM
|
||||
if (net->vio)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue