Skip to content

Commit

Permalink
fix "Undefined subroutine &Manager::mtr_lastlinesfromfile"
Browse files Browse the repository at this point in the history
and "Undefined subroutine &Manager::move"
  • Loading branch information
vuvova committed Sep 9, 2023
1 parent fba4abf commit 7d7ea79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysql-test/mysql-test-run.pl
Expand Up @@ -604,7 +604,7 @@ ($$)
foreach my $coref (glob("core*"), glob("*.dmp"))
{
mtr_report(" - found '$coref', moving it to '$worker_savedir'");
move($coref, $worker_savedir);
::move($coref, $worker_savedir);
}

find(
Expand Down Expand Up @@ -678,7 +678,7 @@ ($$)
my $log_file_name=dirname($worker_logdir)."/".$result->{shortname}.".log";

if (-e $log_file_name) {
$result->{'logfile-failed'} = mtr_lastlinesfromfile($log_file_name, 20);
$result->{'logfile-failed'} = ::mtr_lastlinesfromfile($log_file_name, 20);
} else {
$result->{'logfile-failed'} = "";
}
Expand Down

0 comments on commit 7d7ea79

Please sign in to comment.