Commit d4ea29e7 authored by joerg@mysql.com's avatar joerg@mysql.com

Merge mysql.com:/M50/comment-5.0 into mysql.com:/M51/comment-5.1

parents 5d895630 30e00b0f
...@@ -198,6 +198,7 @@ our $opt_big_test= 0; # Send --big-test to mysqltest ...@@ -198,6 +198,7 @@ our $opt_big_test= 0; # Send --big-test to mysqltest
our @opt_extra_mysqld_opt; our @opt_extra_mysqld_opt;
our $opt_comment;
our $opt_compress; our $opt_compress;
our $opt_ssl; our $opt_ssl;
our $opt_skip_ssl; our $opt_skip_ssl;
...@@ -669,6 +670,14 @@ sub command_line_setup () { ...@@ -669,6 +670,14 @@ sub command_line_setup () {
print '#' x 78, "\n\n"; print '#' x 78, "\n\n";
} }
if ( $opt_comment )
{
print "\n";
print '#' x 78, "\n";
print "# $opt_comment\n";
print '#' x 78, "\n\n";
}
foreach my $arg ( @ARGV ) foreach my $arg ( @ARGV )
{ {
if ( $arg =~ /^--skip-/ ) if ( $arg =~ /^--skip-/ )
...@@ -3256,6 +3265,7 @@ Options for coverage, profiling etc ...@@ -3256,6 +3265,7 @@ Options for coverage, profiling etc
Misc options Misc options
comment=STR Write STR to the output
verbose Verbose output from this script verbose Verbose output from this script
script-debug Debug this script itself script-debug Debug this script itself
timer Show test case execution time timer Show test case execution time
......
...@@ -601,7 +601,14 @@ while test $# -gt 0; do ...@@ -601,7 +601,14 @@ while test $# -gt 0; do
FAST_START=1 FAST_START=1
;; ;;
--use-old-data) --use-old-data)
USE_OLD_DATA=1; USE_OLD_DATA=1
;;
--comment=*)
TMP=`$ECHO "$1" | $SED -e "s;--comment=;;"`
echo
echo '############################################'
echo "# $TMP"
echo '############################################'
;; ;;
-- ) shift; break ;; -- ) shift; break ;;
--* ) $ECHO "Unrecognized option: $1"; exit 1 ;; --* ) $ECHO "Unrecognized option: $1"; exit 1 ;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment