MDEV-36084 mariadb-hotcopy requires '--port' set for operation since 10.11

This commit is contained in:
Sergei Golubchik 2025-02-14 14:58:31 +01:00
parent 7335e9b8ef
commit 0b37c2e7a8

View File

@ -208,7 +208,7 @@ if ($opt{socket} and -S $opt{socket})
else
{
$dsn .= "host=" . $opt{host};
if ($opt{host} ne "localhost")
if ($opt{host} ne "localhost" and $opt{port})
{
$dsn .= ";port=". $opt{port};
}