Commit e8ae2f52 authored by unknown's avatar unknown

fix for --open-files-limit and broken query_cache_merge.test


mysys/my_init.c:
  #include moved to mysys_priv.h
mysys/mysys_priv.h:
  #include moved to mysys_priv.h
sql/hostname.cc:
  removed unnecessary #include
parent de264ea4
......@@ -19,10 +19,6 @@
#include "mysys_err.h"
#include <m_string.h>
#include <m_ctype.h>
#ifdef HAVE_GETRUSAGE
#include <sys/resource.h>
/* extern int getrusage(int, struct rusage *); */
#endif
#include <signal.h>
#ifdef VMS
#include <my_static.c>
......
......@@ -21,6 +21,10 @@
#include "system_wrappers.h"
#endif
#ifdef HAVE_GETRUSAGE
#include <sys/resource.h>
#endif
#ifdef THREAD
#include <my_pthread.h>
extern pthread_mutex_t THR_LOCK_malloc, THR_LOCK_open, THR_LOCK_keycache;
......@@ -29,3 +33,4 @@ extern pthread_mutex_t THR_LOCK_charset;
#else
#include <my_no_pthread.h>
#endif
......@@ -27,9 +27,6 @@
extern "C" { // Because of SCO 3.2V4.2
#endif
#if !defined( __WIN__) && !defined(OS2)
#if !defined(__NETWARE__)
#include <sys/resource.h>
#endif /* __NETWARE__ */
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment