mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
#include "wsrep_priv.h"
|
||||
#include "wsrep_mysqld.h"
|
||||
|
||||
unsigned int wsrep_check_ip (const char* addr, bool *is_ipv6);
|
||||
unsigned int wsrep_check_ip (const char* const addr, bool *is_ipv6);
|
||||
size_t wsrep_guess_ip (char* buf, size_t buf_len);
|
||||
|
||||
namespace wsp {
|
||||
@ -155,6 +155,7 @@ private:
|
||||
}
|
||||
|
||||
bool parse_port(const char *port) {
|
||||
errno= 0; /* Reset the errno */
|
||||
m_port= strtol(port, NULL, 10);
|
||||
if (errno == EINVAL || errno == ERANGE)
|
||||
{
|
||||
|
Reference in New Issue
Block a user