~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mysys_priv.h

  • Committer: Mats Kindahl
  • Date: 2008-08-25 11:54:47 UTC
  • mto: (489.1.2 codestyle)
  • mto: This revision was merged to the branch mainline in revision 372.
  • Revision ID: mats@mysql.com-20080825115447-tg73zkyjnldm7p4c
Hiding THD::proc_info field and providing a setter and getter.
Replacing use of swap_variables() in C++ code with std::swap().
Moving swap_variables() into C files where it is used.
Replacing some function-like macros with inline functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include <my_global.h>
17
 
#include <my_sys.h>
 
16
#include <drizzled/global.h>
 
17
#include <mysys/my_sys.h>
18
18
 
19
19
#ifdef USE_SYSTEM_WRAPPERS
20
20
#include "system_wrappers.h"
24
24
#include <sys/resource.h>
25
25
#endif
26
26
 
27
 
#ifdef THREAD
28
 
#include <my_pthread.h>
 
27
#include <mysys/my_pthread.h>
 
28
#include <mysys/thr_lock.h>
29
29
extern pthread_mutex_t THR_LOCK_malloc, THR_LOCK_open, THR_LOCK_keycache;
30
 
extern pthread_mutex_t THR_LOCK_lock, THR_LOCK_isam, THR_LOCK_net;
 
30
extern pthread_mutex_t THR_LOCK_isam, THR_LOCK_net;
31
31
extern pthread_mutex_t THR_LOCK_charset, THR_LOCK_time;
32
 
#else
33
 
#include <my_no_pthread.h>
34
 
#endif
35
32
 
36
33
/*
37
34
  EDQUOT is used only in 3 C files only in mysys/. If it does not exist on