From 2d226292ff67a4d6c769c61a2af63dd3c26e4734 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 22 Apr 2008 21:55:09 +0200 Subject: [PATCH] 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. --- mysql-test/lib/My/Platform.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mysql-test/lib/My/Platform.pm b/mysql-test/lib/My/Platform.pm index bcd2401423d..b934b08f522 100644 --- a/mysql-test/lib/My/Platform.pm +++ b/mysql-test/lib/My/Platform.pm @@ -96,6 +96,8 @@ sub check_socket_path_length { my ($path)= @_; my $truncated= 0; + return 0 if IS_WINDOWS; + require IO::Socket::UNIX; my $sock = new IO::Socket::UNIX