Skip to content

Commit

Permalink
bzr merge -r4062..4065 codership/5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirbhay Choubey committed Mar 26, 2014
1 parent b5871a5 commit c5f7486
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions sql/slave.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4628,6 +4628,7 @@ log '%s' at position %s, relay log '%s' position: %s%s", RPL_LOG_NAME,
}
}
#endif /* WITH_WSREP */

DBUG_LEAVE; // Must match DBUG_ENTER()
my_thread_end();
#ifdef HAVE_OPENSSL
Expand Down
2 changes: 0 additions & 2 deletions sql/wsrep_mysqld.cc
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,6 @@ static void wsrep_init_position()
}
}

extern char* my_bind_addr_str;

int wsrep_init()
{
int rcode= -1;
Expand Down
5 changes: 2 additions & 3 deletions sql/wsrep_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c5f7486

Please sign in to comment.