~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Monty Taylor
  • Date: 2009-01-05 22:31:09 UTC
  • mfrom: (755.2.2 drizzle-work)
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: mordred@inaugust.com-20090105223109-fhqvb830ftho6r6i
MergedĀ fromĀ Mark.

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
           S_IRUSR|S_IWUSR);
158
158
  if (fd < 0)
159
159
  {
160
 
    sql_print_error(_("fail open() fn=%s er=%s\n"),
161
 
                    logging_query_filename,
162
 
                    strerror(errno));
 
160
    errmsg_printf(ERRMSG_LVL_ERROR, _("fail open() fn=%s er=%s\n"),
 
161
                  logging_query_filename,
 
162
                  strerror(errno));
163
163
 
164
164
    /* todo
165
165
       we should return an error here, so the plugin doesnt load