From b5d13fcbbf6a6809101422d95a0b1ad7dcc70b2c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 4 Apr 2007 19:19:26 +0200 Subject: [PATCH] Bug#27344 Total failure to start the server - length($sockdir) >= 80 !! mysql-test/mysql-test-run.pl: Change check to create a tmp file for socket if length($sockdir) >= 80 !! --- mysql-test/mysql-test-run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 21432687888..2fa9547535f 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1050,7 +1050,7 @@ sub command_line_setup () { # On some operating systems, there is a limit to the length of a # UNIX domain socket's path far below PATH_MAX, so try to avoid long # socket path names. - $sockdir = tempdir(CLEANUP => 0) if ( length($sockdir) > 80 ); + $sockdir = tempdir(CLEANUP => 0) if ( length($sockdir) >= 80 ); # Put this into a hash, will be a C struct