diff options
author | pem@mysql.com <> | 2005-10-31 17:51:48 +0100 |
---|---|---|
committer | pem@mysql.com <> | 2005-10-31 17:51:48 +0100 |
commit | 81437a72862f6b99440a304446f9668d7a63d283 (patch) | |
tree | 3f28009469863aa390a05ef3a0f62caba2ffa0ed /client | |
parent | da64397b69fffa6345f0258646b6ebbd58e47058 (diff) | |
download | mariadb-git-81437a72862f6b99440a304446f9668d7a63d283.tar.gz |
Removed C++-isms from client/mysqltest.c
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index fa65265ff4e..5a90e483262 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -2180,6 +2180,7 @@ int do_connect(struct st_query *q) int free_con_sock= 0; int error= 0; int create_conn= 1; + VAR *var_port, *var_sock; DBUG_ENTER("do_connect"); DBUG_PRINT("enter",("connect: %s",p)); @@ -2199,7 +2200,6 @@ int do_connect(struct st_query *q) p= safe_get_param(p, &con_db, "Missing connection db"); /* Port */ - VAR* var_port; p= safe_get_param(p, &con_port_str, 0); if (*con_port_str) { @@ -2222,7 +2222,6 @@ int do_connect(struct st_query *q) } /* Sock */ - VAR *var_sock; p= safe_get_param(p, &con_sock, 0); if (*con_sock) { |