summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <joerg@trift2.mysql.com>2006-06-09 14:37:24 +0200
committerunknown <joerg@trift2.mysql.com>2006-06-09 14:37:24 +0200
commita6042ffbe9a260a267ca4ab893b98a35656bd813 (patch)
treee4b2af11c4e503cdbee8f8cabf446a32da6de1f2 /mysql-test
parent3cbf2eafbfd1f7721d85282531ce3378b07d27ba (diff)
parentf32d05f516bf9c70e870e664ddb27e2658e968e9 (diff)
downloadmariadb-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-xmysql-test/mysql-test-run.pl13
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 ]