From 2f40648f2af055decc5971004936a6843b51da3c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 7 Feb 2001 23:42:43 +0200 Subject: [PATCH] Added "--character-sets-dir" to myisampack Docs/manual.texi: Changelog --- Docs/manual.texi | 2 ++ myisam/myisampack.c | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Docs/manual.texi b/Docs/manual.texi index 93bd7a8e38d..3af3cf90a06 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -41177,6 +41177,8 @@ not yet 100 % confident in this code. @appendixsubsec Changes in release 3.23.33 @itemize bullet @item +Added @code{--character-sets-dir} to @code{myisampack}. +@item Removed warnings when running @code{REPAIR TABLE .. EXTENDED}. @item Fixed core-dump bug when using @code{GROUP BY} on an alias, where diff --git a/myisam/myisampack.c b/myisam/myisampack.c index ef9be13687e..0e4b6eafbde 100644 --- a/myisam/myisampack.c +++ b/myisam/myisampack.c @@ -229,10 +229,12 @@ int main(int argc, char **argv) #endif } +enum options {OPT_CHARSETS_DIR=256}; static struct option long_options[] = { {"backup", no_argument, 0, 'b'}, + {"character-sets-dir",required_argument,0, OPT_CHARSETS_DIR}, {"debug", optional_argument, 0, '#'}, {"force", no_argument, 0, 'f'}, {"join", required_argument, 0, 'j'}, @@ -249,7 +251,7 @@ static struct option long_options[] = static void print_version(void) { - printf("%s Ver 1.8 for %s on %s\n",my_progname,SYSTEM_TYPE,MACHINE_TYPE); + printf("%s Ver 1.9 for %s on %s\n",my_progname,SYSTEM_TYPE,MACHINE_TYPE); } static void usage(void) @@ -332,6 +334,9 @@ static void get_options(int *argc,char ***argv) case '#': DBUG_PUSH(optarg ? optarg : "d:t:o"); break; + case OPT_CHARSETS_DIR: + charsets_dir = optarg; + break; case 'V': print_version(); exit(0); case 'I': case '?':