bzr merge -r4062..4065 codership/5.6

This commit is contained in:
Nirbhay Choubey 2014-03-26 14:13:12 -04:00
parent b5871a51e9
commit c5f7486654
3 changed files with 3 additions and 5 deletions

View File

@ -4628,6 +4628,7 @@ err_during_init:
}
}
#endif /* WITH_WSREP */
DBUG_LEAVE; // Must match DBUG_ENTER()
my_thread_end();
#ifdef HAVE_OPENSSL

View File

@ -481,8 +481,6 @@ static void wsrep_init_position()
}
}
extern char* my_bind_addr_str;
int wsrep_init()
{
int rcode= -1;

View File

@ -321,6 +321,8 @@ thd::~thd ()
/* Returns INADDR_NONE, INADDR_ANY, INADDR_LOOPBACK or something else */
unsigned int wsrep_check_ip (const char* const addr)
{
if (addr && 0 == strcasecmp(addr, MY_BIND_ALL_ADDRESSES)) return INADDR_ANY;
unsigned int ret = INADDR_NONE;
struct addrinfo *res, hints;
@ -361,9 +363,6 @@ unsigned int wsrep_check_ip (const char* const addr)
return ret;
}
extern char* my_bind_addr_str;
extern uint mysqld_port;
size_t wsrep_guess_ip (char* buf, size_t buf_len)
{
size_t ip_len = 0;