Skip to content

Commit 0d1e805

Browse files
committed
Fix rocksdb tests on Windows
1 parent 689168b commit 0d1e805

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

storage/rocksdb/mysql-test/rocksdb/t/2pc_group_commit.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--source include/have_rocksdb.inc
22
--source include/have_log_bin.inc
3-
3+
--source include/not_windows.inc
44
--echo # Disable for valgrind because this takes too long
55
--source include/not_valgrind.inc
66

storage/rocksdb/mysql-test/rocksdb/t/bulk_load_unsorted.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ eval CREATE TABLE t3(a INT, b INT, PRIMARY KEY(a) COMMENT "$pk_cf")
8282
perl;
8383
my $fn = $ENV{'ROCKSDB_INFILE'};
8484
open(my $fh, '>', $fn) || die "perl open($fn): $!";
85+
binmode $fh;
8586
my $max = 5000000;
8687
my $sign = 1;
8788
for (my $ii = 0; $ii < $max; $ii++)

0 commit comments

Comments
 (0)