summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-10-08 17:58:43 +0300
committerunknown <monty@mashka.mysql.fi>2002-10-08 17:58:43 +0300
commit3dd6cce9891f5d8fc3fc0860bc6ac1576696a208 (patch)
treedb2963a215ecaa695d6df1a233f29e92a166f353 /scripts
parent18585d178d6cbf8364c11da5973531681ac26879 (diff)
downloadmariadb-git-3dd6cce9891f5d8fc3fc0860bc6ac1576696a208.tar.gz
Fixed missing table_list->name -> table_list->alias convert
myisam/mi_open.c: Fixed problem with wrongly calculated max_data_file_length mysql-test/Makefile.am: Added missing .require test files scripts/mysqlhotcopy.sh: Remove end / from directory names (portability fix) tests/grant.res: Update of test results
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