Skip to content
Snippets Groups Projects
Commit d4959473 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Correct spelling in coment.

Prefix the staging directory with "tmp." to make it easier to see that a
directory might be a botched staging directory.
parent 63c096fc
No related branches found
No related tags found
No related merge requests found
...@@ -293,7 +293,7 @@ $in->close(); ...@@ -293,7 +293,7 @@ $in->close();
##====================================================================## ##====================================================================##
## Take the copy specifications from the @todo list and for each ## ## Take the copy specifications from the @todo list and for each ##
## sepcification copy the database to a staging area using rsync, ## ## specification copy the database to a staging area using rsync, ##
## check it with myisamchk, and move it in place in the database ## ## check it with myisamchk, and move it in place in the database ##
## directory. ## ## directory. ##
##====================================================================## ##====================================================================##
...@@ -401,7 +401,7 @@ foreach my $spec (@todo) { ...@@ -401,7 +401,7 @@ foreach my $spec (@todo) {
my $tmp_dir = canonpath( catdir( $target_dir, updir(), 'tmp' ) ); my $tmp_dir = canonpath( catdir( $target_dir, updir(), 'tmp' ) );
my $staging_dir = catdir( $tmp_dir, $target_db ); my $staging_dir = catdir( $tmp_dir, sprintf( "tmp.%s", $target_db ) );
my $destination_dir = catdir( $target_dir, $target_db ); my $destination_dir = catdir( $target_dir, $target_db );
$spec->{'status'} = 'SUCCESS'; # Assume success until failure. $spec->{'status'} = 'SUCCESS'; # Assume success until failure.
......
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