~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Mark Atwood
  • Date: 2009-01-05 04:37:22 UTC
  • mto: (758.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: me@mark.atwood.name-20090105043722-03l4mzcxi4yjjjih
replace sql_print_error etc with errmsg_print

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