Fix LP#909414: Valgrind warnings in threadpool code

This commit is contained in:
Vladislav Vaintroub 2011-12-29 12:17:30 +01:00
commit b9f2fb84f6
2 changed files with 4 additions and 0 deletions

View file

@ -138,6 +138,8 @@ 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 */
{