~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_static.cc

  • Committer: Brian Aker
  • Date: 2009-05-23 16:15:00 UTC
  • mto: This revision was merged to the branch mainline in revision 1038.
  • Revision ID: brian@gaz-20090523161500-nldnoav8b7x1iz1b
Remove locks around my_open(). Open file counts are now "best effort" (not
that they were ever exact, since Innodb didn't use the calls).

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
uint32_t                my_stream_opened=0,my_file_opened=0, my_tmp_file_created=0;
34
34
uint32_t           my_file_total_opened= 0;
35
35
int my_umask=0664, my_umask_dir=0777;
36
 
struct st_my_file_info my_file_info_default[MY_NFILE]= {{0,UNOPEN}};
37
36
uint32_t   my_file_limit= MY_NFILE;
38
 
struct st_my_file_info *my_file_info= my_file_info_default;
39
37
 
40
38
        /* From mf_brkhant */
41
39
int my_dont_interrupt=0;