diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-11-02 13:14:07 +0400 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-11-02 13:14:07 +0400 |
commit | 7e06386ae1c28079a047fb132397b1e4c0499a41 (patch) | |
tree | de731ef781f1890b2cd0c5b333efd6ddc528c44d /client/mysqlcheck.c | |
parent | 46aa022aa6cf40801518d1be2c9e8e7ffcee9928 (diff) | |
download | mariadb-git-7e06386ae1c28079a047fb132397b1e4c0499a41.tar.gz |
A fix (bug #6309: myisamchk compiled without debug support , --help shows vise versa
bug #6380: mysqlcheck --help prints wrong --debug msg for non-debug version).
client/mysqlcheck.c:
A fix (bug #6380: mysqlcheck --help prints wrong --debug msg for non-debug version).
myisam/myisamchk.c:
A fix (bug #6309: myisamchk compiled without debug support , --help shows vise versa).
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r-- | client/mysqlcheck.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 8182b95fb83..c670b84db44 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -81,8 +81,13 @@ static struct my_option my_long_options[] = "To check several databases. Note the difference in usage; In this case no tables are given. All name arguments are regarded as databasenames.", (gptr*) &opt_databases, (gptr*) &opt_databases, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0}, +#ifdef DBUG_OFF + {"debug", '#', "This is a non-debug version. Catch this and exit.", + 0, 0, 0, GET_DISABLED, OPT_ARG, 0, 0, 0, 0, 0, 0}, +#else {"debug", '#', "Output debug log. Often this is 'd:t:o,filename'.", 0, 0, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0}, +#endif {"default-character-set", OPT_DEFAULT_CHARSET, "Set the default character set.", (gptr*) &default_charset, (gptr*) &default_charset, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, |