1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Bug fixes in mysql.cc and myisamchk.c

client/mysql.cc:
  Added a lost option in my_getopt conversion.
myisam/myisamchk.c:
  Fixed a couple of wrong -type bugs.
This commit is contained in:
unknown
2002-04-18 13:53:28 +03:00
parent b3664e7bd7
commit 9f78ad45ed
2 changed files with 11 additions and 8 deletions

View File

@@ -41,7 +41,7 @@
#include <signal.h>
#include <violite.h>
const char *VER= "12.2";
const char *VER= "12.3";
/* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024
@@ -460,6 +460,9 @@ static struct my_option my_long_options[] =
{"character-sets-dir", OPT_CHARSETS_DIR,
"Directory where character sets are.", (gptr*) &charsets_dir,
(gptr*) &charsets_dir, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"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},
{"compress", 'C', "Use compression in server/client protocol.",
(gptr*) &opt_compress, (gptr*) &opt_compress, 0, GET_BOOL, NO_ARG, 0, 0, 0,
0, 0, 0},