diff options
author | unknown <ulli@morbus.(none)> | 2004-02-26 19:09:49 +0100 |
---|---|---|
committer | unknown <ulli@morbus.(none)> | 2004-02-26 19:09:49 +0100 |
commit | cae2503b0b2eff4e8256d67fca66de904fbfe34d (patch) | |
tree | 563559d196bf03d07c57388b1cfe13c09a1d5b6b /client/mysqltest.c | |
parent | e0618ae4ae6d6d0a505e3624d6ee50f687c393d5 (diff) | |
download | mariadb-git-cae2503b0b2eff4e8256d67fca66de904fbfe34d.tar.gz |
fix for bug #2905 -
"mysqladmin.c & co fail to use MYSQL_PORT as the default value of the TCP/IP port"
client/mysqladmin.c:
changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
client/mysqltest.c:
changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
client/thread_test.c:
changed the value after REQUIRED_ARG from 0 to MYSQL_PORT
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'client/mysqltest.c')
-rw-r--r-- | client/mysqltest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 13f575eaf0a..f41f697ad26 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -1879,7 +1879,7 @@ static struct my_option my_long_options[] = {"password", 'p', "Password to use when connecting to server.", 0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0}, {"port", 'P', "Port number to use for connection.", (gptr*) &port, - (gptr*) &port, 0, GET_INT, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, + (gptr*) &port, 0, GET_INT, REQUIRED_ARG, MYSQL_PORT, 0, 0, 0, 0, 0}, {"quiet", 's', "Suppress all normal output.", (gptr*) &silent, (gptr*) &silent, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, {"record", 'r', "Record output of test_file into result file.", |