~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to drizzled/internal/my_open.cc

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
    if (MyFlags & (MY_FAE | MY_WME))
86
86
      my_error(EE_BADCLOSE, MYF(ME_BELL+ME_WAITTANG), "unknown", errno);
87
87
  }
88
 
  my_file_opened--;
89
88
 
90
89
  return(err);
91
90
} /* my_close */
112
111
{
113
112
  if ((int) fd >= 0)
114
113
  {
115
 
    my_file_opened++;
116
 
    my_file_total_opened++;
117
 
 
118
114
    return fd;
119
115
  }
120
116
  else