21 #include "mysys_priv.h"
22 #include "my_static.h"
25 my_bool timed_mutexes= 0;
29 const char *my_progname=0;
30 char curr_dir[FN_REFLEN]= {0},
31 home_dir_buff[FN_REFLEN]= {0};
32 ulong my_stream_opened=0,my_file_opened=0, my_tmp_file_created=0;
33 ulong my_file_total_opened= 0;
34 int my_umask=0664, my_umask_dir=0777;
37 uint my_file_limit= MY_NFILE;
41 int my_dont_interrupt=0;
42 volatile int _my_signals=0;
43 struct st_remember _my_sig_remember[MAX_SIGNALS]={{0,0}};
46 ulong my_default_record_cache_size=RECORD_CACHE_SIZE;
51 const char *soundex_map=
"01230120022455012623010202";
55 uint my_once_extra=ONCE_ALLOC_INIT;
58 #ifdef HAVE_LARGE_PAGES
59 my_bool my_use_large_pages= 0;
60 uint my_large_page_size= 0;
64 int volatile my_have_got_alarm=0;
65 ulong my_time_to_wait_for_lock=2;
69 const char *globerrs[GLOBERRS];
71 void (*my_abort_hook)(int) = (
void(*)(int)) exit;
72 void (*error_handler_hook)(uint error,
const char *str, myf MyFlags)=
74 void (*fatal_error_handler_hook)(uint error,
const char *str, myf MyFlags)=
77 static void proc_info_dummy(
void *a __attribute__((unused)),
80 const char *d __attribute__((unused)),
81 const char *e __attribute__((unused)),
82 const unsigned int f __attribute__((unused)))
88 void (*proc_info_hook)(
void *,
const PSI_stage_info *, PSI_stage_info *,
89 const char *,
const char *,
const unsigned int)= proc_info_dummy;
91 #if defined(ENABLED_DEBUG_SYNC)
96 void (*debug_sync_C_callback_ptr)(
const char *, size_t);
101 ulonglong query_performance_frequency, query_performance_offset;
105 my_bool my_disable_locking=0;
106 my_bool my_disable_async_io=0;
107 my_bool my_disable_flush_key_blocks=0;
108 my_bool my_disable_symlinks=0;