diff options
author | msvensson@pilot.blaudden <> | 2007-05-10 13:28:24 +0200 |
---|---|---|
committer | msvensson@pilot.blaudden <> | 2007-05-10 13:28:24 +0200 |
commit | b805507358c3866d05c9fca5c0291ea6bf5d3096 (patch) | |
tree | b1e2c144d0b173177a50d9d28be321a23fdea7cf | |
parent | eeccd0de975cbe0cdbaf23f59ee7cf73fa3e7f52 (diff) | |
download | mariadb-git-b805507358c3866d05c9fca5c0291ea6bf5d3096.tar.gz |
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
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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 |