1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

fix "Undefined subroutine &Manager::mtr_lastlinesfromfile"

and "Undefined subroutine &Manager::move"
This commit is contained in:
Sergei Golubchik
2023-09-08 21:40:35 +02:00
parent fba4abf3b9
commit 7d7ea79916

View File

@ -604,7 +604,7 @@ sub parse_protocol($$) {
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(
@ -678,7 +678,7 @@ sub parse_protocol($$) {
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'} = "";
}