mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Fixed gethostname_r tests to be more portable
BUILD/FINISH.sh: Moved symbolic files to tmp Docs/manual.texi: Updated mysql-test/r/func_str.result: Removed time functions mysql-test/t/func_str.test: Removed time functions mysql-test/t/order_by.test: Fixed sort problem sql/sql_parse.cc: End transactions before LOCK TABLES
This commit is contained in:
parent
4fbd7817ae
commit
dcd25bc9f4
12 changed files with 46 additions and 37 deletions
|
|
@ -417,7 +417,7 @@ int my_pthread_cond_init(pthread_cond_t *mp, const pthread_condattr_t *attr)
|
|||
|
||||
#if !defined(my_gethostbyname_r) && defined(HAVE_GETHOSTBYNAME_R)
|
||||
|
||||
#if defined(HAVE_GLIBC2_STYLE_GETHOSTBYNAME_R)
|
||||
#if defined(HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE)
|
||||
|
||||
struct hostent *my_gethostbyname_r(const char *name,
|
||||
struct hostent *result, char *buffer,
|
||||
|
|
@ -430,7 +430,7 @@ struct hostent *my_gethostbyname_r(const char *name,
|
|||
return hp;
|
||||
}
|
||||
|
||||
#elif defined(_HPUX_SOURCE) || (defined(_AIX) && !defined(_AIX32_THREADS))
|
||||
#elif defined(HAVE_GETHOSTBYNAME_R_RETURN_INT)
|
||||
|
||||
struct hostent *my_gethostbyname_r(const char *name,
|
||||
struct hostent *result, char *buffer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue