diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-12-29 13:37:37 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-12-29 13:37:37 +0100 |
commit | 8d90582a3b36ae8be764b43043fedd03c3db4686 (patch) | |
tree | f0924ce925f76469c117aa74f3093527f9b926ea /sql/sql_client.cc | |
parent | 68d6d4fc2b146a23a76d523ded543a22dac993a8 (diff) | |
download | mariadb-git-8d90582a3b36ae8be764b43043fedd03c3db4686.tar.gz |
Fix valgrind errors with network timeouts.
Diffstat (limited to 'sql/sql_client.cc')
-rw-r--r-- | sql/sql_client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_client.cc b/sql/sql_client.cc index 22a7867012a..9630b92a9fc 100644 --- a/sql/sql_client.cc +++ b/sql/sql_client.cc @@ -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); |