Commit 920d6dd2 authored by unknown's avatar unknown

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
parent 0ba00c92
...@@ -1051,7 +1051,7 @@ sub command_line_setup () { ...@@ -1051,7 +1051,7 @@ sub command_line_setup () {
# On some operating systems, there is a limit to the length of a # 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 # UNIX domain socket's path far below PATH_MAX, so try to avoid long
# socket path names. # 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 # Put this into a hash, will be a C struct
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment