mirror of
https://github.com/MariaDB/server.git
synced 2026-04-21 15:55:53 +02:00
Post-merge fix
This commit is contained in:
parent
cebc10e3c0
commit
10d9d68d7c
1 changed files with 2 additions and 1 deletions
|
|
@ -842,11 +842,12 @@ static int parse_url(MEM_ROOT *mem_root, FEDERATED_SHARE *share, TABLE *table,
|
|||
*/
|
||||
if (share->hostname[0] == '\0')
|
||||
share->hostname= NULL;
|
||||
|
||||
}
|
||||
|
||||
if (!share->port)
|
||||
{
|
||||
if (!share->hostname || strcmp(share->hostname, my_localhost) == 0)
|
||||
share->socket= (char*) MYSQL_UNIX_ADDR;
|
||||
else
|
||||
share->port= MYSQL_PORT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue