mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Fix for 64-bit machines.
I am almost sure this is the cause for BUG#1381 [Opn]: Bug in replication on HP-UX 64 bit binaries? BUG#1256 [CRp]: Replication slave fails to connect to master in 64-bit version (Solaris) The reason why I think it's wrong is that the normal client code has uint32 ip_addr. (of course on 32-bit machines it does not matter, but on 64-bit it does).
This commit is contained in:
parent
e4c7496c14
commit
7dbbd82f13
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ mc_mysql_connect(MYSQL *mysql,const char *host, const char *user,
|
|||
{
|
||||
char buff[NAME_LEN+USERNAME_LENGTH+100],*end,*host_info;
|
||||
my_socket sock;
|
||||
ulong ip_addr;
|
||||
uint32 ip_addr;
|
||||
struct sockaddr_in sock_addr;
|
||||
ulong pkt_length;
|
||||
NET *net= &mysql->net;
|
||||
|
|
Loading…
Reference in a new issue