revision-id: ffb48234df38630aeb3c34d72aba1473348c7076 parent(s): b0269816a52d7fb3d8893afbafc60b27aca30815 committer: Sergei Petrunia branch nick: 10.2-r11 timestamp: 2018-05-10 20:16:15 +0300 message: 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. --- storage/rocksdb/mysql-test/rocksdb/include/bulk_load_unsorted.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/storage/rocksdb/mysql-test/rocksdb/include/bulk_load_unsorted.inc b/storage/rocksdb/mysql-test/rocksdb/include/bulk_load_unsorted.inc index 4a3158e..151ec0c 100644 --- a/storage/rocksdb/mysql-test/rocksdb/include/bulk_load_unsorted.inc +++ b/storage/rocksdb/mysql-test/rocksdb/include/bulk_load_unsorted.inc @@ -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++)