Fix from magnus for the "The socket file path is too long (> 107)" failure.

This commit is contained in:
Georgi Kodinov 2009-02-02 12:18:38 +02:00
parent db78d337b5
commit fb9ab04078

View file

@ -1060,7 +1060,7 @@ sub command_line_setup {
{
$opt_tmpdir= "$opt_vardir/tmp" unless $opt_tmpdir;
if (check_socket_path_length("$opt_tmpdir/testsocket.sock"))
if (check_socket_path_length("$opt_tmpdir/mysql_testsocket.sock"))
{
mtr_report("Too long tmpdir path '$opt_tmpdir'",
" creating a shorter one...");