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 | b6e8991cd1984927649b89fa70650de6111a69ad (patch) | |
tree | 060ee1a6b7c52e553310126746e620fb4c4aac45 /client | |
parent | 1f7efe4e1ce73a5ef0d08ed2906ec74d85db0743 (diff) | |
download | mariadb-git-b6e8991cd1984927649b89fa70650de6111a69ad.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; } |