~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_static.c

  • Committer: Brian Aker
  • Date: 2008-08-10 22:14:13 UTC
  • Revision ID: brian@tangent.org-20080810221413-ablfnyr3wgu6fjaw
ulong conversion. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
const char      *my_progname=0;
30
30
char curr_dir[FN_REFLEN]= {0},
31
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;
 
32
uint32_t                my_stream_opened=0,my_file_opened=0, my_tmp_file_created=0;
 
33
uint32_t           my_file_total_opened= 0;
34
34
int my_umask=0664, my_umask_dir=0777;
35
35
struct st_my_file_info my_file_info_default[MY_NFILE]= {{0,UNOPEN}};
36
36
uint   my_file_limit= MY_NFILE;
43
43
sigset_t my_signals;                    /* signals blocked by mf_brkhant */
44
44
 
45
45
        /* from mf_reccache.c */
46
 
ulong my_default_record_cache_size=RECORD_CACHE_SIZE;
 
46
uint32_t my_default_record_cache_size=RECORD_CACHE_SIZE;
47
47
 
48
48
        /* from soundex.c */
49
49
                                /* ABCDEFGHIJKLMNOPQRSTUVWXYZ */
59
59
     sf_malloc_endhunc=0,               /* dump when malloc-message.... */
60
60
                                        /* set theese to 64 or 128  */
61
61
     sf_malloc_quick=0;                 /* set if no calls to sanity */
62
 
ulong sf_malloc_cur_memory= 0L;         /* Current memory usage */
63
 
ulong sf_malloc_max_memory= 0L;         /* Maximum memory usage */
 
62
uint32_t sf_malloc_cur_memory= 0L;              /* Current memory usage */
 
63
uint32_t sf_malloc_max_memory= 0L;              /* Maximum memory usage */
64
64
uint  sf_malloc_count= 0;               /* Number of times NEW() was called */
65
65
uchar *sf_min_adress= (uchar*) ~(unsigned long) 0L,
66
66
     *sf_max_adress= (uchar*) 0L;
69
69
 
70
70
        /* from my_alarm */
71
71
int volatile my_have_got_alarm=0;       /* declare variable to reset */
72
 
ulong my_time_to_wait_for_lock=2;       /* In seconds */
 
72
uint32_t my_time_to_wait_for_lock=2;    /* In seconds */
73
73
 
74
74
        /* from errors.c */
75
75
void (*my_abort_hook)(int) = (void(*)(int)) exit;