List:Commits« Previous MessageNext Message »
From:Joerg Bruehe Date:June 8 2006 12:52pm
Subject:bk commit into 4.1 tree (joerg:1.2488) BUG#20303
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of joerg. When joerg does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2488 06/06/08 14:52:33 joerg@stripped +1 -0
  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
    1.65 06/06/08 14:52:29 joerg@stripped +6 -0
    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.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	joerg
# Host:	trift2.
# Root:	/M41/bug20303-4.1

--- 1.64/mysql-test/mysql-test-run.pl	2006-05-03 21:03:53 +02:00
+++ 1.65/mysql-test/mysql-test-run.pl	2006-06-08 14:52:29 +02:00
@@ -610,6 +610,12 @@
     {
       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\"");
Thread
bk commit into 4.1 tree (joerg:1.2488) BUG#20303Joerg Bruehe8 Jun