mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
Merge with MySQL 5.1.57/58
Moved some BSD string functions from Unireg
This commit is contained in:
commit
e415ba0fb2
538 changed files with 9684 additions and 3379 deletions
|
|
@ -1,4 +1,5 @@
|
|||
/* Copyright (C) 2000-2006 MySQL AB
|
||||
/* Copyright (c) 2000, 2011, Oracle and/or its affiliates.
|
||||
Copyright (c) 2011, Monty Program Ab
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -183,7 +184,7 @@ char * ip_to_hostname(struct in_addr *in, uint *errors)
|
|||
&tmp_hostent,buff,sizeof(buff),&tmp_errno)))
|
||||
{
|
||||
DBUG_PRINT("error",("gethostbyaddr_r returned %d",tmp_errno));
|
||||
return 0;
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
if (!(check=my_gethostbyname_r(hp->h_name,&tmp_hostent2,buff2,sizeof(buff2),
|
||||
&tmp_errno)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue