~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_static.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  a shared library
19
19
*/
20
20
 
21
 
#include "config.h"
22
 
 
23
 
#include "drizzled/internal/my_sys.h"
24
 
#include "drizzled/error.h"
 
21
#include "mysys/mysys_priv.h"
 
22
#include <mysys/mysys_err.h>
25
23
#include "my_static.h"
26
24
#include <stdlib.h>
27
25
 
28
 
namespace drizzled
29
 
{
30
 
namespace internal
31
 
{
32
 
 
33
26
bool timed_mutexes= 0;
34
27
 
35
28
        /* from my_init */
37
30
const char      *my_progname=0;
38
31
char curr_dir[FN_REFLEN]= {0},
39
32
     home_dir_buff[FN_REFLEN]= {0};
 
33
uint32_t                my_stream_opened=0,my_file_opened=0, my_tmp_file_created=0;
 
34
uint32_t           my_file_total_opened= 0;
40
35
int my_umask=0664, my_umask_dir=0777;
41
36
uint32_t   my_file_limit= MY_NFILE;
42
37
 
43
38
        /* From mf_brkhant */
44
39
int my_dont_interrupt=0;
45
40
volatile int            _my_signals=0;
 
41
struct st_remember _my_sig_remember[MAX_SIGNALS]={{0,0}};
46
42
sigset_t my_signals;                    /* signals blocked by mf_brkhant */
47
43
 
48
44
        /* from mf_reccache.c */
70
66
int volatile my_have_got_alarm=0;       /* declare variable to reset */
71
67
uint32_t my_time_to_wait_for_lock=2;    /* In seconds */
72
68
 
 
69
        /* from errors.c */
 
70
void_ptr_int_func my_abort_hook= (void_ptr_int_func)exit;
 
71
error_handler_func error_handler_hook= NULL;
 
72
 
73
73
        /* How to disable options */
74
74
bool my_disable_async_io= true;
75
75
bool my_disable_flush_key_blocks=0;
76
76
bool my_disable_symlinks=0;
77
77
bool mysys_uses_curses=0;
78
 
 
79
 
} /* namespace internal */
80
 
} /* namespace drizzled */