1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-04 01:23:45 +03:00

Added "--character-sets-dir" to myisampack

Docs/manual.texi:
  Changelog
This commit is contained in:
unknown
2001-02-07 23:42:43 +02:00
parent 455ac66af8
commit 2f40648f2a
2 changed files with 8 additions and 1 deletions

View File

@ -41177,6 +41177,8 @@ not yet 100 % confident in this code.
@appendixsubsec Changes in release 3.23.33 @appendixsubsec Changes in release 3.23.33
@itemize bullet @itemize bullet
@item @item
Added @code{--character-sets-dir} to @code{myisampack}.
@item
Removed warnings when running @code{REPAIR TABLE .. EXTENDED}. Removed warnings when running @code{REPAIR TABLE .. EXTENDED}.
@item @item
Fixed core-dump bug when using @code{GROUP BY} on an alias, where Fixed core-dump bug when using @code{GROUP BY} on an alias, where

View File

@ -229,10 +229,12 @@ int main(int argc, char **argv)
#endif #endif
} }
enum options {OPT_CHARSETS_DIR=256};
static struct option long_options[] = static struct option long_options[] =
{ {
{"backup", no_argument, 0, 'b'}, {"backup", no_argument, 0, 'b'},
{"character-sets-dir",required_argument,0, OPT_CHARSETS_DIR},
{"debug", optional_argument, 0, '#'}, {"debug", optional_argument, 0, '#'},
{"force", no_argument, 0, 'f'}, {"force", no_argument, 0, 'f'},
{"join", required_argument, 0, 'j'}, {"join", required_argument, 0, 'j'},
@ -249,7 +251,7 @@ static struct option long_options[] =
static void print_version(void) 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) static void usage(void)
@ -332,6 +334,9 @@ static void get_options(int *argc,char ***argv)
case '#': case '#':
DBUG_PUSH(optarg ? optarg : "d:t:o"); DBUG_PUSH(optarg ? optarg : "d:t:o");
break; break;
case OPT_CHARSETS_DIR:
charsets_dir = optarg;
break;
case 'V': print_version(); exit(0); case 'V': print_version(); exit(0);
case 'I': case 'I':
case '?': case '?':