~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:33:57 UTC
  • mfrom: (511.2.2 more-warnings)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063357-vz18dqzdxh2l4nni
Merged in more warnings again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
    return 0;
109
109
  }
110
110
 
111
 
  fd= open(logging_query_filename, O_WRONLY | O_APPEND | O_CREAT);
 
111
  fd= open(logging_query_filename, O_WRONLY | O_APPEND | O_CREAT,
 
112
           S_IRUSR|S_IWUSR);
112
113
  if (fd < 0) 
113
114
  {
114
115
    fprintf(stderr, "fail open fn=%s er=%s\n",