diff options
author | unknown <lenz@mysql.com> | 2004-07-15 21:19:16 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2004-07-15 21:19:16 +0200 |
commit | 8871b054febaa01cb5d1cb39d1f3d8890e6fe250 (patch) | |
tree | e132070405a36161b59cd7ebc9ea30943b9fdf80 /scripts | |
parent | dd01a13a5b36635432c2fe067a0710b8c10b7989 (diff) | |
parent | c2753d95ee8cd955fdb9883f29907fa62077081b (diff) | |
download | mariadb-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.sh | 1 |
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; |