~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_static.cc

  • Committer: Monty Taylor
  • Date: 2009-01-06 18:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 762.
  • Revision ID: mordred@inaugust.com-20090106184625-kqu7nsnwjwm5jv4s
Enabled dirty_close.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
                                /* :::::::::::::::::::::::::: */
52
52
const char *soundex_map=          "01230120022455012623010202";
53
53
 
54
 
        /* from my_malloc */
55
 
USED_MEM* my_once_root_block=0;                 /* pointer to first block */
56
 
uint      my_once_extra=ONCE_ALLOC_INIT;        /* Memory to alloc / block */
57
 
 
58
54
        /* from safe_malloc */
59
55
uint32_t sf_malloc_prehunc=0,           /* If you have problem with core- */
60
56
     sf_malloc_endhunc=0,               /* dump when malloc-message.... */
73
69
uint32_t my_time_to_wait_for_lock=2;    /* In seconds */
74
70
 
75
71
        /* from errors.c */
76
 
void (*my_abort_hook)(int) = (void(*)(int)) exit;
77
 
void (*error_handler_hook)(uint32_t error,const char *str,myf MyFlags)=
78
 
    my_message_no_curses;
79
 
void (*fatal_error_handler_hook)(uint32_t error,const char *str,myf MyFlags)=
80
 
  my_message_no_curses;
 
72
void_ptr_int_func my_abort_hook= (void_ptr_int_func)exit;
 
73
error_handler_func error_handler_hook= my_message_no_curses;
 
74
error_handler_func fatal_error_handler_hook= my_message_no_curses;
81
75
 
82
76
        /* How to disable options */
83
77
bool my_disable_async_io=0;