00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include <config.h>
00022
00023 #include <drizzled/internal/my_sys.h>
00024 #include <drizzled/error.h>
00025 #include "my_static.h"
00026 #include <stdlib.h>
00027
00028 #include <drizzled/visibility.h>
00029
00030 namespace drizzled
00031 {
00032 namespace internal
00033 {
00034
00035 bool timed_mutexes= 0;
00036
00037
00038 char * home_dir=0;
00039 const char *my_progname=0;
00040 char curr_dir[FN_REFLEN]= {0},
00041 home_dir_buff[FN_REFLEN]= {0};
00042 DRIZZLED_API int my_umask=0664;
00043 int my_umask_dir=0777;
00044 uint32_t my_file_limit= MY_NFILE;
00045
00046
00047 int my_dont_interrupt=0;
00048 volatile int _my_signals=0;
00049 sigset_t my_signals;
00050
00051
00052 uint32_t my_default_record_cache_size=RECORD_CACHE_SIZE;
00053
00054
00055
00056
00057 const char *soundex_map= "01230120022455012623010202";
00058
00059
00060 uint32_t sf_malloc_prehunc=0,
00061 sf_malloc_endhunc=0,
00062
00063 sf_malloc_quick=0;
00064 uint32_t sf_malloc_cur_memory= 0L;
00065 uint32_t sf_malloc_max_memory= 0L;
00066 uint32_t sf_malloc_count= 0;
00067 unsigned char *sf_min_adress= (unsigned char*) ~(unsigned long) 0L,
00068 *sf_max_adress= (unsigned char*) 0L;
00069
00070 irem *sf_malloc_root = NULL;
00071
00072
00073 int volatile my_have_got_alarm=0;
00074 uint32_t my_time_to_wait_for_lock=2;
00075
00076
00077 bool my_disable_async_io= true;
00078 bool my_disable_flush_key_blocks=0;
00079 bool my_disable_symlinks=0;
00080 bool mysys_uses_curses=0;
00081
00082 }
00083 }