mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-6275: Fix signed/unsigned comparison
This commit is contained in:
@@ -1986,7 +1986,7 @@ int spider_db_mbase::connect(
|
|||||||
} else if (!strcmp(tgt_host, "127.0.0.1") ||
|
} else if (!strcmp(tgt_host, "127.0.0.1") ||
|
||||||
!strcmp(tgt_host, glob_hostname))
|
!strcmp(tgt_host, glob_hostname))
|
||||||
{
|
{
|
||||||
if (tgt_port == *spd_mysqld_port)
|
if (tgt_port == long{*spd_mysqld_port})
|
||||||
{
|
{
|
||||||
my_printf_error(ER_SPIDER_SAME_SERVER_LINK_NUM,
|
my_printf_error(ER_SPIDER_SAME_SERVER_LINK_NUM,
|
||||||
ER_SPIDER_SAME_SERVER_LINK_STR2, MYF(0),
|
ER_SPIDER_SAME_SERVER_LINK_STR2, MYF(0),
|
||||||
|
Reference in New Issue
Block a user