~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log_event.cc

  • Committer: Felipe
  • Date: 2008-08-04 23:58:04 UTC
  • mto: (261.2.6 codestyle)
  • mto: This revision was merged to the branch mainline in revision 263.
  • Revision ID: felipe@pena-20080804235804-x55q2xqxcar6u66f
- Renamed MYSQL_ERROR to DRIZZLE_ERROR.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
  char buff[MAX_SLAVE_ERRMSG], *slider;
134
134
  const char *buff_end= buff + sizeof(buff);
135
135
  uint len;
136
 
  List_iterator_fast<MYSQL_ERROR> it(thd->warn_list);
137
 
  MYSQL_ERROR *err;
 
136
  List_iterator_fast<DRIZZLE_ERROR> it(thd->warn_list);
 
137
  DRIZZLE_ERROR *err;
138
138
  buff[0]= 0;
139
139
 
140
140
  for (err= it++, slider= buff; err && slider < buff_end - 1;
3577
3577
      "data truncated" warning but which is absorbed and never gets to the
3578
3578
      error log); still we init it to avoid a Valgrind message.
3579
3579
    */
3580
 
    mysql_reset_errors(thd, 0);
 
3580
    drizzle_reset_errors(thd, 0);
3581
3581
 
3582
3582
    TABLE_LIST tables;
3583
3583
    memset((char*) &tables, 0, sizeof(tables));