1
0
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:
unknown
2006-11-21 11:59:25 +01:00
parent 0f27fa86b2
commit 22204c0ac1
2 changed files with 7 additions and 11 deletions

View File

@ -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);