summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-10-08 17:58:43 +0300
committermonty@mashka.mysql.fi <>2002-10-08 17:58:43 +0300
commitbae4af8a4f41a78c5628bcf7b9cf2cc6752849ff (patch)
treedb2963a215ecaa695d6df1a233f29e92a166f353 /scripts
parent66646cc4588d4119165127e4d69b15ed53a046e4 (diff)
downloadmariadb-git-bae4af8a4f41a78c5628bcf7b9cf2cc6752849ff.tar.gz
Fixed missing table_list->name -> table_list->alias convert
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqlhotcopy.sh6
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