~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_static.c

  • Committer: Stewart Smith
  • Date: 2008-06-30 05:43:45 UTC
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630054345-drcljfrjinqmut2h
my_errno => errno

saves sizeof(int) per thread + sizeof(int) in RAM usage!

even seems to kinda work!

breaks build with dbug library for some strange reason.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
ulong           my_stream_opened=0,my_file_opened=0, my_tmp_file_created=0;
33
33
ulong           my_file_total_opened= 0;
34
34
int my_umask=0664, my_umask_dir=0777;
35
 
#ifndef THREAD
36
 
int my_errno=0;
37
 
#endif
38
35
struct st_my_file_info my_file_info_default[MY_NFILE]= {{0,UNOPEN}};
39
36
uint   my_file_limit= MY_NFILE;
40
37
struct st_my_file_info *my_file_info= my_file_info_default;