Commit d0d69b76 authored by unknown's avatar unknown
Browse files

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"


mysql-test/mysql-test-run.pl:
  A fix for bug#20303 "mysql-test-run.pl: Does not recognize -- argument":
  Due to the use of 'pass_through' in option processing this lone '--' will remain
  as an argument, it must be ignored explicitly.
parent ddd9fbac
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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\"");