summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorjani@rhols221.adsl.netsonic.fi <>2002-04-18 13:53:28 +0300
committerjani@rhols221.adsl.netsonic.fi <>2002-04-18 13:53:28 +0300
commit430e9cab9f085dcdb4be526c05bb8cc789c31362 (patch)
tree07539fbff003cd832625e192869a5e475f559635 /client
parentae4455b5e77d814d208d3e2a633b4efaa9a1b13f (diff)
downloadmariadb-git-430e9cab9f085dcdb4be526c05bb8cc789c31362.tar.gz
Bug fixes in mysql.cc and myisamchk.c
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 46fc63763b5..44257095c3a 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -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},