Commit 81437a72 authored by pem@mysql.com's avatar pem@mysql.com

Removed C++-isms from client/mysqltest.c

parent da64397b
...@@ -2180,6 +2180,7 @@ int do_connect(struct st_query *q) ...@@ -2180,6 +2180,7 @@ int do_connect(struct st_query *q)
int free_con_sock= 0; int free_con_sock= 0;
int error= 0; int error= 0;
int create_conn= 1; int create_conn= 1;
VAR *var_port, *var_sock;
DBUG_ENTER("do_connect"); DBUG_ENTER("do_connect");
DBUG_PRINT("enter",("connect: %s",p)); DBUG_PRINT("enter",("connect: %s",p));
...@@ -2199,7 +2200,6 @@ int do_connect(struct st_query *q) ...@@ -2199,7 +2200,6 @@ int do_connect(struct st_query *q)
p= safe_get_param(p, &con_db, "Missing connection db"); p= safe_get_param(p, &con_db, "Missing connection db");
/* Port */ /* Port */
VAR* var_port;
p= safe_get_param(p, &con_port_str, 0); p= safe_get_param(p, &con_port_str, 0);
if (*con_port_str) if (*con_port_str)
{ {
...@@ -2222,7 +2222,6 @@ int do_connect(struct st_query *q) ...@@ -2222,7 +2222,6 @@ int do_connect(struct st_query *q)
} }
/* Sock */ /* Sock */
VAR *var_sock;
p= safe_get_param(p, &con_sock, 0); p= safe_get_param(p, &con_sock, 0);
if (*con_sock) if (*con_sock)
{ {
......
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