Commit 2da24bb6 authored by unknown's avatar unknown
Browse files

Merge mysql.com:/M51/bug20303-5.1 into mysql.com:/M51/mysql-5.1


mysql-test/mysql-test-run.pl:
  Auto merged
parents 65f125ff 741edd2e
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -694,6 +694,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\"");
@@ -3713,6 +3719,13 @@ sub valgrind_arguments {
##############################################################################

sub usage ($) {
  my $message= shift;

  if ( $message )
  {
    print STDERR "$message \n";
  }

  print STDERR <<HERE;

mysql-test-run [ OPTIONS ] [ TESTCASE ]