Commit 8b7e07e0 authored by lenz@mysql.com's avatar lenz@mysql.com

Merge lgrimmer@build.mysql.com:/home/bk/mysql-4.1

into mysql.com:/space/my/mysql-4.1
parents 8ab5398b 20389c1e
...@@ -635,6 +635,7 @@ sub copy_index ...@@ -635,6 +635,7 @@ sub copy_index
my $to="$target/$file"; my $to="$target/$file";
my $buff; my $buff;
open(INPUT, "<$from") || die "Can't open file $from: $!\n"; open(INPUT, "<$from") || die "Can't open file $from: $!\n";
binmode(INPUT, ":raw");
my $length=read INPUT, $buff, 2048; my $length=read INPUT, $buff, 2048;
die "Can't read index header from $from\n" if ($length < 1024); die "Can't read index header from $from\n" if ($length < 1024);
close INPUT; close INPUT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment