~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_reporting.cc

  • Committer: brian
  • Date: 2008-08-01 09:15:55 UTC
  • mfrom: (261.1.4 drizzle)
  • Revision ID: brian@localhost.localdomain-20080801091555-axgut9h6uvtbatei
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
#include "mysql_priv.h"
3
3
#include "rpl_reporting.h"
 
4
#include <libdrizzle/gettext.h>
4
5
 
5
6
void
6
7
Slave_reporting_capability::report(loglevel level, int err_code,
41
42
  va_end(args);
42
43
 
43
44
  /* If the msg string ends with '.', do not add a ',' it would be ugly */
44
 
  report_function("Slave %s: %s%s Error_code: %d",
 
45
  report_function(_("Slave %s: %s%s Error_code: %d"),
45
46
                  m_thread_name, pbuff,
46
47
                  (pbuff[0] && *(strend(pbuff)-1) == '.') ? "" : ",",
47
48
                  err_code);