diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-06-14 07:34:25 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-06-14 07:34:25 +0300 |
commit | 2cd45add27be30016693897debb261915dcd064c (patch) | |
tree | 523a4d915c2946428bda0c0196e52557793ae0a5 /storage | |
parent | 991d5140c374cbc250a436c6f2096d864eec00f6 (diff) | |
download | mariadb-git-2cd45add27be30016693897debb261915dcd064c.tar.gz |
MDEV-6275: Fix signed/unsigned comparison
Diffstat (limited to 'storage')
-rw-r--r-- | storage/spider/spd_db_mysql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/spider/spd_db_mysql.cc b/storage/spider/spd_db_mysql.cc index 18e2d2acbd5..aa5c27a1f06 100644 --- a/storage/spider/spd_db_mysql.cc +++ b/storage/spider/spd_db_mysql.cc @@ -1986,7 +1986,7 @@ int spider_db_mbase::connect( } else if (!strcmp(tgt_host, "127.0.0.1") || !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, ER_SPIDER_SAME_SERVER_LINK_STR2, MYF(0), |