~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_reporting.cc

  • Committer: arjen at com
  • Date: 2008-08-25 13:26:34 UTC
  • mto: This revision was merged to the branch mainline in revision 371.
  • Revision ID: arjen@lentz.com.au-20080825132634-yh2563i3xvltoavx
Initial mods for making all tests work again. Some tests adapted+added.
List of tests in Makefile now alphabetically sorted, dups removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
  /* If the msg string ends with '.', do not add a ',' it would be ugly */
43
43
  report_function(_("Slave %s: %s%s Error_code: %d"),
44
44
                  m_thread_name, pbuff,
45
 
                  (pbuff[0] && *(strchr(pbuff, '\0')-1) == '.') ? "" : ",",
 
45
                  (pbuff[0] && *(strend(pbuff)-1) == '.') ? "" : ",",
46
46
                  err_code);
47
47
}