~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/set_var.cc

  • Committer: Monty Taylor
  • Date: 2008-07-30 03:26:20 UTC
  • mto: (236.1.4 codestyle)
  • mto: This revision was merged to the branch mainline in revision 239.
  • Revision ID: monty@inaugust.com-20080730032620-9g6t1ua4p0p0r177
Removed my_stat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2167
2167
      'write' permission.
2168
2168
    */
2169
2169
 
2170
 
    if (!MY_S_ISREG(f_stat.st_mode) ||
2171
 
        !(f_stat.st_mode & MY_S_IWRITE))
 
2170
    if (!S_ISREG(f_stat.st_mode) ||
 
2171
        !(f_stat.st_mode & S_IWRITE))
2172
2172
      goto err;
2173
2173
 
2174
2174
    return 0;