mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
UNIX sockets need to be on a path shorter than 70 characters on some older platofrms. MTRv1 tries to fix this by moving the socket to the $TMPDIR, however this causes issues with certain tests on Windows. Fixed by not applying any hacks on Windows - Windows does not need them.
This commit is contained in:
commit
ccc0ffb419
1 changed files with 1 additions and 1 deletions
|
@ -1106,7 +1106,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) >= 70 );
|
||||
$sockdir = tempdir(CLEANUP => 0) if ( length($sockdir) >= 70 ) && (! $glob_win32 );
|
||||
|
||||
$master->[0]=
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue