diff options
author | He Zhenxing <zhenxing.he@sun.com> | 2009-04-09 16:58:18 +0800 |
---|---|---|
committer | He Zhenxing <zhenxing.he@sun.com> | 2009-04-09 16:58:18 +0800 |
commit | 8d30839c65042d31fd98be765b029e6a4868110d (patch) | |
tree | 060ee1a6b7c52e553310126746e620fb4c4aac45 /client | |
parent | e9acb2833bebc1504f729d4a554cc4738738ce9d (diff) | |
download | mariadb-git-8d30839c65042d31fd98be765b029e6a4868110d.tar.gz |
Fix compile error on windows for BUG#37145 on 5.0-bugteam
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 799609a7d27..2f19fad9ea9 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -4087,6 +4087,7 @@ int select_connection_name(const char *name) int select_connection(struct st_command *command) { + int ret; char *p= command->first_argument; static DYNAMIC_STRING ds_connection; const struct command_arg connection_args[] = { @@ -4103,7 +4104,7 @@ int select_connection(struct st_command *command) DBUG_PRINT("info", ("changing connection: %s", ds_connection.str)); - int ret= select_connection_name(ds_connection.str); + ret= select_connection_name(ds_connection.str); dynstr_free(&ds_connection); return ret; } |