diff options
author | jimw@mysql.com <> | 2005-10-13 12:28:43 -0700 |
---|---|---|
committer | jimw@mysql.com <> | 2005-10-13 12:28:43 -0700 |
commit | b6dcc55969a759a8c209d53a01811f460b5fd23a (patch) | |
tree | cfd3468b4f6101931995ce387572924a9fd3f2c4 /client/mysqlshow.c | |
parent | 829a4831b1054a769ed34e111ab88be0619aa06e (diff) | |
download | mariadb-git-b6dcc55969a759a8c209d53a01811f460b5fd23a.tar.gz |
Fix being able to set default TCP port for command-line utilities
by using MYSQL_TCP_PORT variable. (Bug #5792)
Diffstat (limited to 'client/mysqlshow.c')
-rw-r--r-- | client/mysqlshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqlshow.c b/client/mysqlshow.c index 44fc9448782..bc304b2dc11 100644 --- a/client/mysqlshow.c +++ b/client/mysqlshow.c @@ -183,7 +183,7 @@ static struct my_option my_long_options[] = "Password to use when connecting to server. If password is not given it's asked from the tty.", 0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0}, {"port", 'P', "Port number to use for connection.", (gptr*) &opt_mysql_port, - (gptr*) &opt_mysql_port, 0, GET_UINT, REQUIRED_ARG, MYSQL_PORT, 0, 0, 0, 0, + (gptr*) &opt_mysql_port, 0, GET_UINT, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, #ifdef __WIN__ {"pipe", 'W', "Use named pipes to connect to server.", 0, 0, 0, GET_NO_ARG, |