summaryrefslogtreecommitdiff
path: root/sql/wsrep_utils.h
diff options
context:
space:
mode:
authorJulius Goryavsky <julius.goryavsky@mariadb.com>2022-04-12 13:37:27 +0200
committerJulius Goryavsky <julius.goryavsky@mariadb.com>2022-04-12 17:14:39 +0200
commit42908dc5fb06039d5e7f08f425d19829dee40c49 (patch)
tree2289a3fe1a1a7080cde7dfb9a94b37e25e80554e /sql/wsrep_utils.h
parentd31732e02e3b442b89a2d290d7fb1771b21f7d98 (diff)
downloadmariadb-git-42908dc5fb06039d5e7f08f425d19829dee40c49.tar.gz
MDEV-26171: wsrep_sst_receive_address does not parse IPv6 address correctly
This commit fixes problems with parsing ipv6 addresses given via the wsrep_sst_receive_address and wsrep_node_address options. Also, this commit removes extra lines in the configuration files in the mtr test suites for Galera related to these parameters.
Diffstat (limited to 'sql/wsrep_utils.h')
-rw-r--r--sql/wsrep_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/wsrep_utils.h b/sql/wsrep_utils.h
index d4d9e62a620..1263feb0463 100644
--- a/sql/wsrep_utils.h
+++ b/sql/wsrep_utils.h
@@ -46,6 +46,7 @@ public:
const char* get_address() { return m_address; }
size_t get_address_len() { return m_address_len; }
int get_port() { return m_port; }
+ void set_port(int port) { m_port= port; }
private:
enum family {