Commit fd5df6f0 authored by Sergey Vojtovich's avatar Sergey Vojtovich Committed by GitHub

Merge pull request #232 from 0xAX/no-need-to-zero-vio-net

no need to set net->vio to zero in mysql_real_connect
parents 76a0ed2e 077da07c
...@@ -3118,7 +3118,6 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user, ...@@ -3118,7 +3118,6 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
DBUG_RETURN(0); DBUG_RETURN(0);
mysql->methods= &client_methods; mysql->methods= &client_methods;
net->vio = 0; /* If something goes wrong */
mysql->client_flag=0; /* For handshake */ mysql->client_flag=0; /* For handshake */
/* use default options */ /* use default options */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment