Commit ffb48234 authored by Sergei Petrunia's avatar Sergei Petrunia

MyRocks on windows: make bulk_load_unsorted pass.

It produced warnings due to perl code printing \r\n into the text
file which is then used by LOAD DATA INFILE.
parent b0269816
...@@ -83,6 +83,7 @@ eval CREATE TABLE t3(a INT, b INT, PRIMARY KEY(a) COMMENT "$pk_cf") ...@@ -83,6 +83,7 @@ eval CREATE TABLE t3(a INT, b INT, PRIMARY KEY(a) COMMENT "$pk_cf")
perl; perl;
my $fn = $ENV{'ROCKSDB_INFILE'}; my $fn = $ENV{'ROCKSDB_INFILE'};
open(my $fh, '>', $fn) || die "perl open($fn): $!"; open(my $fh, '>', $fn) || die "perl open($fn): $!";
binmode $fh;
my $max = 5000000; my $max = 5000000;
my $sign = 1; my $sign = 1;
for (my $ii = 0; $ii < $max; $ii++) for (my $ii = 0; $ii < $max; $ii++)
......
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