Commit a35b9c96 authored by unknown's avatar unknown

Fix preserving mysqld error log across server restarts, broken by recent mtr changes.

parent d3d8f0bf
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment