~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_static.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-03-21 20:26:28 UTC
  • mto: (960.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 961.
  • Revision ID: osullivan.padraig@gmail.com-20090321202628-nh6qsi825m4d4av6
Removing the queues.[h,cc] files from the mysys directory. The only place
where they are needed now is in the MyISAM storage engine. Thus, I moved the
files there and updated the files in the MyISAM storage engine
appropriately.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include "mysys_priv.h"
22
22
#include <mysys/mysys_err.h>
23
23
#include "my_static.h"
 
24
#include <stdlib.h>
24
25
 
25
26
bool timed_mutexes= 0;
26
27
 
50
51
                                /* :::::::::::::::::::::::::: */
51
52
const char *soundex_map=          "01230120022455012623010202";
52
53
 
53
 
        /* from my_malloc */
54
 
USED_MEM* my_once_root_block=0;                 /* pointer to first block */
55
 
uint      my_once_extra=ONCE_ALLOC_INIT;        /* Memory to alloc / block */
56
 
 
57
54
        /* from safe_malloc */
58
55
uint32_t sf_malloc_prehunc=0,           /* If you have problem with core- */
59
56
     sf_malloc_endhunc=0,               /* dump when malloc-message.... */
72
69
uint32_t my_time_to_wait_for_lock=2;    /* In seconds */
73
70
 
74
71
        /* from errors.c */
75
 
void (*my_abort_hook)(int) = (void(*)(int)) exit;
76
 
void (*error_handler_hook)(uint32_t error,const char *str,myf MyFlags)=
77
 
    my_message_no_curses;
78
 
void (*fatal_error_handler_hook)(uint32_t error,const char *str,myf MyFlags)=
79
 
  my_message_no_curses;
 
72
void_ptr_int_func my_abort_hook= (void_ptr_int_func)exit;
 
73
error_handler_func error_handler_hook= NULL;
80
74
 
81
75
        /* How to disable options */
82
 
bool my_disable_async_io=0;
 
76
bool my_disable_async_io= true;
83
77
bool my_disable_flush_key_blocks=0;
84
78
bool my_disable_symlinks=0;
85
79
bool mysys_uses_curses=0;