Commit 86dc69e0 authored by Jim Winstead's avatar Jim Winstead

mysql_upgrade ignored the --basedir and --datadir arguments as it has no use

for them, but it did so silently. (Bug #36558)
parent e2808aa2
......@@ -251,8 +251,12 @@ get_one_option(int optid, const struct my_option *opt,
break;
case 'b': /* --basedir */
case 'v': /* --verbose */
case 'd': /* --datadir */
fprintf(stderr, "%s: the '--%s' option is always ignored\n",
my_progname, optid == 'b' ? "basedir" : "datadir");
/* FALLTHROUGH */
case 'v': /* --verbose */
case 'f': /* --force */
add_option= FALSE;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment