diff options
author | monty@mashka.mysql.fi <> | 2002-10-08 17:58:43 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-10-08 17:58:43 +0300 |
commit | bae4af8a4f41a78c5628bcf7b9cf2cc6752849ff (patch) | |
tree | db2963a215ecaa695d6df1a233f29e92a166f353 /scripts | |
parent | 66646cc4588d4119165127e4d69b15ed53a046e4 (diff) | |
download | mariadb-git-bae4af8a4f41a78c5628bcf7b9cf2cc6752849ff.tar.gz |
Fixed missing table_list->name -> table_list->alias convert
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqlhotcopy.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh index 1aad5c95c25..d808ffdcaef 100644 --- a/scripts/mysqlhotcopy.sh +++ b/scripts/mysqlhotcopy.sh @@ -37,7 +37,7 @@ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome. # Documentation continued at end of file -my $VERSION = "1.16"; +my $VERSION = "1.17"; my $opt_tmpdir = $ENV{TMPDIR} || "/tmp"; @@ -388,6 +388,8 @@ foreach my $rdb ( @db_desc ) { foreach my $td ( '', @{$rdb->{raid_dirs}} ) { my $tgt_dirpath = "$rdb->{target}/$td"; + # Remove trailing slashes (needed for Mac OS X) + substr($tgt_dirpath, 1) =~ s|/+$||; if ( $opt{dryrun} ) { print "mkdir $tgt_dirpath, 0750\n"; } @@ -1001,3 +1003,5 @@ resulted in nothing being copied when a regexp was specified but no database name(s). Martin Waite - Fix to handle database name that contains space. + +Paul DuBois - Remove end '/' from directory names |