diff options
author | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-26 15:56:52 +0300 |
---|---|---|
committer | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-26 15:56:52 +0300 |
commit | 7b7188cea65ace20e16b0defd278f17d37743c99 (patch) | |
tree | bd37457a3ede5f89be347874aa575e32bca225d0 /client/mysqlcheck.c | |
parent | 78a0585cea4d6369e29c0ab306799f823dac6636 (diff) | |
parent | 6b4baf48a503e86e065c8ced36a0e50103be919b (diff) | |
download | mariadb-git-7b7188cea65ace20e16b0defd278f17d37743c99.tar.gz |
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r-- | client/mysqlcheck.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 465213cce50..35d57e0394e 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -62,6 +62,10 @@ static struct my_option my_long_options[] = "Instead of issuing one query for each table, use one query per database, naming all tables in the database in a comma-separated list.", (gptr*) &opt_all_in_1, (gptr*) &opt_all_in_1, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, +#ifdef __NETWARE__ + {"auto-close", OPT_AUTO_CLOSE, "Auto close the screen on exit for Netware.", + 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, +#endif {"auto-repair", OPT_AUTO_REPAIR, "If a checked table is corrupted, automatically fix it. Repairing will be done after all tables have been checked, if corrupted ones were found.", (gptr*) &opt_auto_repair, (gptr*) &opt_auto_repair, 0, GET_BOOL, NO_ARG, 0, @@ -221,6 +225,11 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)), char *argument) { switch(optid) { +#ifdef __NETWARE__ + case OPT_AUTO_CLOSE: + setscreenmode(SCR_AUTOCLOSE_ON_EXIT); + break; +#endif case 'a': what_to_do = DO_ANALYZE; break; |