mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Save files in var/tmp/ after failure
This commit is contained in:
@ -3190,6 +3190,9 @@ sub after_failure ($) {
|
||||
# Save the used my.cnf file
|
||||
copy($path_config_file, $save_dir);
|
||||
|
||||
# Copy the tmp dir
|
||||
copytree("$opt_vardir/tmp/", "$save_dir/tmp/");
|
||||
|
||||
if ( clusters() ) {
|
||||
foreach my $cluster ( clusters() ) {
|
||||
my $cluster_dir= "$opt_vardir/".$cluster->{name};
|
||||
|
Reference in New Issue
Block a user