From c3997a6640e4ff7933691d89b48e3268d45f6281 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 5 Oct 2006 22:06:29 +0200 Subject: [PATCH] Open input file with "<" not ">>" --- mysql-test/lib/mtr_io.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/lib/mtr_io.pl b/mysql-test/lib/mtr_io.pl index 8a7fc56269c..a1d7ffe87d8 100644 --- a/mysql-test/lib/mtr_io.pl +++ b/mysql-test/lib/mtr_io.pl @@ -176,7 +176,7 @@ sub mtr_appendfile_to_file ($$) { my $to_file= shift; open(TOFILE,">>",$to_file) or mtr_error("can't open file \"$to_file\": $!"); - open(FROMFILE,">>",$from_file) + open(FROMFILE,"<",$from_file) or mtr_error("can't open file \"$from_file\": $!"); print TOFILE while (); close FROMFILE;