diff options
author | jani@rhols221.adsl.netsonic.fi <> | 2002-05-14 21:41:55 +0300 |
---|---|---|
committer | jani@rhols221.adsl.netsonic.fi <> | 2002-05-14 21:41:55 +0300 |
commit | 9eda54d1538f2c3caf80deaa1e1a43411893263c (patch) | |
tree | 4ab693251c296105301806199ac0d1ee72bdf62f /client/mysqlshow.c | |
parent | 438e3debcb1266172f7f30daf9d2dd7d91037646 (diff) | |
download | mariadb-git-9eda54d1538f2c3caf80deaa1e1a43411893263c.tar.gz |
- Added new type GET_STRALC to my_getopt.
- Fixed some bugs, wrongly freed pointers, in some clients.
- Removed unneccessary code.
- Fixed some other minor bugs and added some options into
variables category, which had accidently been left out earlier.
Diffstat (limited to 'client/mysqlshow.c')
-rw-r--r-- | client/mysqlshow.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/client/mysqlshow.c b/client/mysqlshow.c index 95d94e5feda..c89995ddb8d 100644 --- a/client/mysqlshow.c +++ b/client/mysqlshow.c @@ -16,7 +16,7 @@ /* Show databases, tables or columns */ -#define SHOW_VERSION "9.1" +#define SHOW_VERSION "9.2" #include <my_global.h> #include "client_priv.h" @@ -198,15 +198,9 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), char *argument) { switch(optid) { - case 'c': - charsets_dir= argument; - break; case 'v': opt_verbose++; break; - case 'h': - host = argument; - break; case 'p': if (argument) { @@ -220,17 +214,6 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), else tty_password=1; break; -#ifndef DONT_ALLOW_USER_CHANGE - case 'u': - user=argument; - break; -#endif - case 'P': - opt_mysql_port= (unsigned int) atoi(argument); - break; - case 'S': - opt_mysql_unix_port= argument; - break; case 'W': #ifdef __WIN__ opt_mysql_unix_port=MYSQL_NAMEDPIPE; |