Skip to content

Commit 113dd00

Browse files
author
msvensson@pilot.mysql.com
committed
Always return 0 inidcating that socket path would not be truncated when
running on windows. Apparently Cygwin tries to emulate UNIX Socket and thus fails to create one.
1 parent d90d89d commit 113dd00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mysql-test/lib/My/Platform.pm

+2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ sub check_socket_path_length {
9696
my ($path)= @_;
9797
my $truncated= 0;
9898

99+
return 0 if IS_WINDOWS;
100+
99101
require IO::Socket::UNIX;
100102

101103
my $sock = new IO::Socket::UNIX

0 commit comments

Comments
 (0)