~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

MergedĀ up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1129
1129
  /* Create the file world readable */
1130
1130
  if ((file= my_create(path, 0666, O_WRONLY|O_EXCL, MYF(MY_WME))) < 0)
1131
1131
    return file;
1132
 
#ifdef HAVE_FCHMOD
1133
1132
  (void) fchmod(file, 0666);                    // Because of umask()
1134
 
#else
1135
 
  (void) chmod(path, 0666);
1136
 
#endif
1137
1133
  if (init_io_cache(cache, file, 0L, WRITE_CACHE, 0L, 1, MYF(MY_WME)))
1138
1134
  {
1139
1135
    my_close(file, MYF(0));