1
0
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:
msvensson@pilot.mysql.com
2008-04-28 14:37:40 +02:00
parent 91cc80ad57
commit 5d3d99c365

View File

@ -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};