summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-12-29 13:37:37 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-12-29 13:37:37 +0100
commit8d90582a3b36ae8be764b43043fedd03c3db4686 (patch)
treef0924ce925f76469c117aa74f3093527f9b926ea /sql/net_serv.cc
parent68d6d4fc2b146a23a76d523ded543a22dac993a8 (diff)
downloadmariadb-git-8d90582a3b36ae8be764b43043fedd03c3db4686.tar.gz
Fix valgrind errors with network timeouts.
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index d54fe3e0ebf..4a35dc52fa3 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -138,8 +138,6 @@ my_bool my_net_init(NET *net, Vio* vio)
net->net_skip_rest_factor= 0;
net->last_errno=0;
net->unused= 0;
- net->read_timeout=0;
- net->write_timeout=0;
if (vio != 0) /* If real connection */
{