mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix preserving mysqld error log across server restarts, broken by recent mtr changes.
This commit is contained in:
parent
0dd37e87c4
commit
b708b87240
1 changed files with 1 additions and 1 deletions
|
@ -4035,7 +4035,7 @@ sub run_testcase ($$) {
|
|||
sub _preserve_error_log_names {
|
||||
my ($mysqld)= @_;
|
||||
my $error_log_file= $mysqld->if_exist('#log-error');
|
||||
return unless $error_log_file and -r $error_log_file;
|
||||
return (undef, undef) unless $error_log_file;
|
||||
my $error_log_dir= dirname($error_log_file);
|
||||
my $save_name= $error_log_dir ."/../". $mysqld->name() .".error.log";
|
||||
return ($error_log_file, $save_name);
|
||||
|
|
Loading…
Reference in a new issue