summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay.choubey@sun.com>2011-01-16 09:29:05 +0530
committerNirbhay Choubey <nirbhay.choubey@sun.com>2011-01-16 09:29:05 +0530
commit974bf57dac2ea85d4305ee8eb925b6693f4d5250 (patch)
tree92e02d0ae2f7be9ccd86f465d02e645d4579ca54 /client/mysqldump.c
parentfbc10eeb9d671487566c037f8d954c2250644a5d (diff)
downloadmariadb-git-974bf57dac2ea85d4305ee8eb925b6693f4d5250.tar.gz
Bug#58139 : default-auth option not recognized in MySQL standard
command line clients. Postfix covering other mysql standard clients like mysql_upgrade, mysqlbinlog, mysqlcheck, mysqlimport, mysqlshow and mysqlslap.
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index 5c3dc5ddd04..66f0c2801f5 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -137,7 +137,7 @@ FILE *stderror_file=0;
static char *shared_memory_base_name=0;
#endif
static uint opt_protocol= 0;
-static char *opt_plugin_dir= 0, *opt_default_auth;
+static char *opt_plugin_dir= 0, *opt_default_auth= 0;
/*
Dynamic_string wrapper functions. In this file use these
@@ -503,7 +503,7 @@ static struct my_option my_long_options[] =
{"plugin_dir", OPT_PLUGIN_DIR, "Directory for client-side plugins.",
(uchar**) &opt_plugin_dir, (uchar**) &opt_plugin_dir, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
- {"default_auth", OPT_PLUGIN_DIR,
+ {"default_auth", OPT_DEFAULT_AUTH,
"Default authentication client-side plugin to use.",
(uchar**) &opt_default_auth, (uchar**) &opt_default_auth, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},