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:
@ -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'} = "";
|
||||
}
|
||||
|
Reference in New Issue
Block a user