mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Updates for gethostname and gethostbyname_r usage
configure.in: Change "gethostname_r" to "gethostbyname_r" as that is the function being looked for sql/sql_parse.cc: gethostname is not used from sql_parse.cc so no need to declare it's prototype here
This commit is contained in:
@ -62,10 +62,6 @@
|
||||
(LP)->sql_command == SQLCOM_DROP_FUNCTION ? \
|
||||
"FUNCTION" : "PROCEDURE")
|
||||
|
||||
#ifdef SOLARIS
|
||||
extern "C" int gethostname(char *name, int namelen);
|
||||
#endif
|
||||
|
||||
static void time_out_user_resource_limits(THD *thd, USER_CONN *uc);
|
||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||
static int check_for_max_user_connections(THD *thd, USER_CONN *uc);
|
||||
|
Reference in New Issue
Block a user