Commit 5091df13 authored by joerg@mysql.com's avatar joerg@mysql.com

mysql-test/mysql-test-run.pl : A fix for bug#20303 "mysql-test-run.pl:...

mysql-test/mysql-test-run.pl  :    A fix for bug#20303 "mysql-test-run.pl: Does not recognize -- argument"
parent 24197323
......@@ -610,6 +610,12 @@ sub command_line_setup () {
{
push(@opt_extra_mysqld_opt, $arg);
}
elsif ( $arg =~ /^--$/ )
{
# It is an effect of setting 'pass_through' in option processing
# that the lone '--' separating options from arguments survives,
# simply ignore it.
}
elsif ( $arg =~ /^-/ )
{
usage("Invalid option \"$arg\"");
......
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