summaryrefslogtreecommitdiff
path: root/sql-common/client.c
diff options
context:
space:
mode:
authorStaale Smedseng <staale.smedseng@sun.com>2009-08-28 18:21:54 +0200
committerStaale Smedseng <staale.smedseng@sun.com>2009-08-28 18:21:54 +0200
commitf59ef9eafa076cd5d3ae3aedc609efa457492ebe (patch)
treea1ec5dfbd668a88bc0b6c98db397a421d2b37f21 /sql-common/client.c
parenta0e44ec1e8d2352df6dbf40c959e2115c9884c7e (diff)
parent2217de25139f5994fc1c5c71f897ff0788813db0 (diff)
downloadmariadb-git-f59ef9eafa076cd5d3ae3aedc609efa457492ebe.tar.gz
Merge from 5.0 for 43414
Diffstat (limited to 'sql-common/client.c')
-rw-r--r--sql-common/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 5a9ea84b498..05071865928 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -1849,7 +1849,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
uint port, const char *unix_socket,ulong client_flag)
{
char buff[NAME_LEN+USERNAME_LENGTH+100];
- char *end,*host_info;
+ char *end,*host_info= NULL;
my_socket sock;
in_addr_t ip_addr;
struct sockaddr_in sock_addr;
@@ -1867,7 +1867,6 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
#endif
init_sigpipe_variables
DBUG_ENTER("mysql_real_connect");
- LINT_INIT(host_info);
DBUG_PRINT("enter",("host: %s db: %s user: %s",
host ? host : "(Null)",