diff options
author | unknown <msvensson@neptunus.(none)> | 2006-10-05 22:06:29 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-10-05 22:06:29 +0200 |
commit | c3997a6640e4ff7933691d89b48e3268d45f6281 (patch) | |
tree | 26aea078cf3b941bc6598d8bdd4149236a5d427e | |
parent | 93a9883bed4acacf5d5cad9c04255047f1679ec6 (diff) | |
download | mariadb-git-c3997a6640e4ff7933691d89b48e3268d45f6281.tar.gz |
Open input file with "<" not ">>"
-rw-r--r-- | mysql-test/lib/mtr_io.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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 (<FROMFILE>); close FROMFILE; |