diff options
author | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-24 22:03:34 +0300 |
---|---|---|
committer | jani@a193-229-222-105.elisa-laajakaista.fi <> | 2005-08-24 22:03:34 +0300 |
commit | fe977b0cd0f2cbabd0a3804cfd83a02698601ad7 (patch) | |
tree | c0c34797bba5e900d1bd182f5a096c63abba60d1 /client/mysqlcheck.c | |
parent | 9f72d504b42d0e944bbb84a235075a29696f1358 (diff) | |
download | mariadb-git-fe977b0cd0f2cbabd0a3804cfd83a02698601ad7.tar.gz |
Several fixes for Netware.
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 b5a80782948..98ef59c19d8 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -56,6 +56,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, @@ -203,6 +207,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; |