mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Fix warnings in mysql-test-run.pl
This commit is contained in:
parent
de3a2e9237
commit
1b3094187a
2 changed files with 7 additions and 4 deletions
|
@ -62,7 +62,7 @@ sub collect_test_cases ($) {
|
|||
foreach my $tname ( @::opt_cases ) { # Run in specified order, no sort
|
||||
my $elem= undef;
|
||||
my $component_id= undef;
|
||||
|
||||
|
||||
# Get rid of directory part (path). Leave the extension since it is used
|
||||
# to understand type of the test.
|
||||
|
||||
|
@ -538,8 +538,6 @@ sub mtr_options_from_test_file($$) {
|
|||
|
||||
while ( my $line= <$F> )
|
||||
{
|
||||
chomp;
|
||||
|
||||
next if ( $line !~ /^--/ );
|
||||
|
||||
# Match this line against tag in "tags" array
|
||||
|
|
|
@ -943,6 +943,7 @@ sub command_line_setup () {
|
|||
|
||||
$master->[0]=
|
||||
{
|
||||
pid => 0,
|
||||
type => "master",
|
||||
idx => 0,
|
||||
path_myddir => "$opt_vardir/master-data",
|
||||
|
@ -958,6 +959,7 @@ sub command_line_setup () {
|
|||
|
||||
$master->[1]=
|
||||
{
|
||||
pid => 0,
|
||||
type => "master",
|
||||
idx => 1,
|
||||
path_myddir => "$opt_vardir/master1-data",
|
||||
|
@ -973,6 +975,7 @@ sub command_line_setup () {
|
|||
|
||||
$slave->[0]=
|
||||
{
|
||||
pid => 0,
|
||||
type => "slave",
|
||||
idx => 0,
|
||||
path_myddir => "$opt_vardir/slave-data",
|
||||
|
@ -989,6 +992,7 @@ sub command_line_setup () {
|
|||
|
||||
$slave->[1]=
|
||||
{
|
||||
pid => 0,
|
||||
type => "slave",
|
||||
idx => 1,
|
||||
path_myddir => "$opt_vardir/slave1-data",
|
||||
|
@ -1004,6 +1008,7 @@ sub command_line_setup () {
|
|||
|
||||
$slave->[2]=
|
||||
{
|
||||
pid => 0,
|
||||
type => "slave",
|
||||
idx => 2,
|
||||
path_myddir => "$opt_vardir/slave2-data",
|
||||
|
@ -1172,9 +1177,9 @@ sub executable_setup () {
|
|||
"$path_client_bindir/mysqld-nt",
|
||||
"$path_client_bindir/mysqld",
|
||||
"$path_client_bindir/mysqld-max",
|
||||
"$path_client_bindir/mysqld-debug",
|
||||
"$glob_basedir/sql/release/mysqld",
|
||||
"$glob_basedir/sql/debug/mysqld");
|
||||
"$path_client_bindir/mysqld-debug",
|
||||
$path_language= mtr_path_exists("$glob_basedir/share/english/",
|
||||
"$glob_basedir/sql/share/english/");
|
||||
$path_charsetsdir= mtr_path_exists("$glob_basedir/share/charsets",
|
||||
|
|
Loading…
Reference in a new issue