From db0c3b6d8367642d1ccfbe57fb178bbf2d47d040 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 10 May 2007 13:28:24 +0200 Subject: Bug#27344 Total failure to start the server - Give some more protection against "too long socket name by setting the max length when to use a tmpdir for sockets to 70 mysql-test/mysql-test-run.pl: Give some more protection against "too long socket name by setting the max length when to use a tmpdir for sockets to 70 --- mysql-test/mysql-test-run.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysql-test/mysql-test-run.pl') diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index b0c142ba07b..102f12a4709 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -1051,7 +1051,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) >= 70 ); # Put this into a hash, will be a C struct -- cgit v1.2.1