mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mysql.com:/M50/bug20303-5.0 into mysql.com:/M51/bug20303-5.1
This commit is contained in:
@ -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\"");
|
||||
@ -3712,6 +3718,13 @@ sub valgrind_arguments {
|
||||
##############################################################################
|
||||
|
||||
sub usage ($) {
|
||||
my $message= shift;
|
||||
|
||||
if ( $message )
|
||||
{
|
||||
print STDERR "$message \n";
|
||||
}
|
||||
|
||||
print STDERR <<HERE;
|
||||
|
||||
mysql-test-run [ OPTIONS ] [ TESTCASE ]
|
||||
|
Reference in New Issue
Block a user