Commit 17be53b0 authored by unknown's avatar unknown

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


client/mysqltest.c:
  Removed C++-isms from C file.
parent 60108e80
...@@ -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