mirror of
https://github.com/MariaDB/server.git
synced 2026-04-27 18:55:31 +02:00
Fix valgrind errors with network timeouts.
This commit is contained in:
parent
68d6d4fc2b
commit
8d90582a3b
2 changed files with 1 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ void my_net_local_init(NET *net)
|
|||
{
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
net->max_packet= (uint) global_system_variables.net_buffer_length;
|
||||
|
||||
net->read_timeout= net->write_timeout= 0;
|
||||
my_net_set_read_timeout(net, (uint)global_system_variables.net_read_timeout);
|
||||
my_net_set_write_timeout(net,
|
||||
(uint)global_system_variables.net_write_timeout);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue