Skip to content

Commit

Permalink
MyRocks on windows: make bulk_load_unsorted pass.
Browse files Browse the repository at this point in the history
It produced warnings due to perl code printing \r\n into the text
file which is then used by LOAD DATA INFILE.
  • Loading branch information
spetrunia committed May 10, 2018
1 parent b026981 commit ffb4823
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ eval CREATE TABLE t3(a INT, b INT, PRIMARY KEY(a) COMMENT "$pk_cf")
perl;
my $fn = $ENV{'ROCKSDB_INFILE'};
open(my $fh, '>', $fn) || die "perl open($fn): $!";
binmode $fh;
my $max = 5000000;
my $sign = 1;
for (my $ii = 0; $ii < $max; $ii++)
Expand Down

0 comments on commit ffb4823

Please sign in to comment.