summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-09-12 13:53:39 +0400
committerGitHub <noreply@github.com>2016-09-12 13:53:39 +0400
commitfd5df6f0da564215fa6aedd5e7c5aec23aa26d11 (patch)
treefab15438693e40bb0e136fedafccbc19b331a7a3 /sql-common
parent76a0ed2e03c6ae1ff791534e742c812d5e83ba63 (diff)
parent077da07c946312f1b80d51e2883fe6d730115578 (diff)
downloadmariadb-git-fd5df6f0da564215fa6aedd5e7c5aec23aa26d11.tar.gz
Merge pull request #232 from 0xAX/no-need-to-zero-vio-net
no need to set net->vio to zero in mysql_real_connect
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index e73d9bdbe0b..c900ec6800f 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -3118,7 +3118,6 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
DBUG_RETURN(0);
mysql->methods= &client_methods;
- net->vio = 0; /* If something goes wrong */
mysql->client_flag=0; /* For handshake */
/* use default options */