1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix warnings in mysql-test-run.pl

mysql-test/lib/mtr_stress.pl:
  Remove duplicate definition of variable
mysql-test/mysql-test-run.pl:
  Fix spelling error
  Fix warning about uninitialised warning
This commit is contained in:
unknown
2006-09-19 16:43:42 +02:00
parent 1c0a0682ad
commit 0dc08b9040
2 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,6 @@ sub run_stress_test ()
{ {
my $args; my $args;
my $stress_basedir;
my $stress_suitedir; my $stress_suitedir;
mtr_report("Starting stress testing\n"); mtr_report("Starting stress testing\n");

View File

@ -1313,7 +1313,7 @@ sub kill_running_server () {
{ {
# Ensure that no old mysqld test servers are running # Ensure that no old mysqld test servers are running
# This is different from terminating processes we have # This is different from terminating processes we have
# started from ths run of the script, this is terminating # started from this run of the script, this is terminating
# leftovers from previous runs. # leftovers from previous runs.
mtr_report("Killing Possible Leftover Processes"); mtr_report("Killing Possible Leftover Processes");
@ -2752,7 +2752,7 @@ sub stop_masters () {
my @args; my @args;
for ( my $idx; $idx < 2; $idx++ ) for ( my $idx= 0; $idx < 2; $idx++ )
{ {
# FIXME if we hit ^C before fully started, this test will prevent # FIXME if we hit ^C before fully started, this test will prevent
# the mysqld process from being killed # the mysqld process from being killed
@ -2783,7 +2783,7 @@ sub stop_slaves () {
my @args; my @args;
for ( my $idx; $idx < 3; $idx++ ) for ( my $idx= 0; $idx < 3; $idx++ )
{ {
if ( $slave->[$idx]->{'pid'} ) if ( $slave->[$idx]->{'pid'} )
{ {