summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2004-07-15 21:19:16 +0200
committerunknown <lenz@mysql.com>2004-07-15 21:19:16 +0200
commit8871b054febaa01cb5d1cb39d1f3d8890e6fe250 (patch)
treee132070405a36161b59cd7ebc9ea30943b9fdf80 /scripts
parentdd01a13a5b36635432c2fe067a0710b8c10b7989 (diff)
parentc2753d95ee8cd955fdb9883f29907fa62077081b (diff)
downloadmariadb-git-8871b054febaa01cb5d1cb39d1f3d8890e6fe250.tar.gz
Merge mysql.com:/space/my/mysql-4.1
into mysql.com:/space/my/mysql-4.1-build
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqlhotcopy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mysqlhotcopy.sh b/scripts/mysqlhotcopy.sh
index af4e6084c59..fe93aa5a1bc 100644
--- a/scripts/mysqlhotcopy.sh
+++ b/scripts/mysqlhotcopy.sh
@@ -635,6 +635,7 @@ sub copy_index
my $to="$target/$file";
my $buff;
open(INPUT, "<$from") || die "Can't open file $from: $!\n";
+ binmode(INPUT, ":raw");
my $length=read INPUT, $buff, 2048;
die "Can't read index header from $from\n" if ($length < 1024);
close INPUT;