diff options
author | unknown <joerg@trift2.mysql.com> | 2006-06-09 14:37:24 +0200 |
---|---|---|
committer | unknown <joerg@trift2.mysql.com> | 2006-06-09 14:37:24 +0200 |
commit | a6042ffbe9a260a267ca4ab893b98a35656bd813 (patch) | |
tree | e4b2af11c4e503cdbee8f8cabf446a32da6de1f2 /mysql-test | |
parent | 3cbf2eafbfd1f7721d85282531ce3378b07d27ba (diff) | |
parent | f32d05f516bf9c70e870e664ddb27e2658e968e9 (diff) | |
download | mariadb-git-a6042ffbe9a260a267ca4ab893b98a35656bd813.tar.gz |
Merge trift2.mysql.com:/M41/bug20303-4.1
into trift2.mysql.com:/M41/mysql-4.1
mysql-test/mysql-test-run.pl:
Auto merged
Diffstat (limited to 'mysql-test')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index dd620fb0277..8cf14faec0c 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -611,6 +611,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\""); @@ -2461,6 +2467,13 @@ sub valgrind_arguments { ############################################################################## sub usage ($) { + my $message= shift; + + if ( $message ) + { + print STDERR "$message \n"; + } + print STDERR <<HERE; mysql-test-run [ OPTIONS ] [ TESTCASE ] |