~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log_event.cc

  • Committer: Monty Taylor
  • Date: 2008-11-04 13:22:55 UTC
  • mto: (575.1.7 fix-headers)
  • mto: This revision was merged to the branch mainline in revision 577.
  • Revision ID: monty@inaugust.com-20081104132255-l9dhglk4ix6vd3u7
Changed a bunch of __attribute__((unused)) to removing the parameter name instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2396
2396
}
2397
2397
 
2398
2398
Log_event::enum_skip_reason
2399
 
Format_description_log_event::do_shall_skip(Relay_log_info *rli __attribute__((unused)))
 
2399
Format_description_log_event::do_shall_skip(Relay_log_info *)
2400
2400
{
2401
2401
  return Log_event::EVENT_SKIP_NOT;
2402
2402
}
3450
3450
}
3451
3451
 
3452
3452
 
3453
 
int Xid_log_event::do_apply_event(Relay_log_info const *rli __attribute__((unused)))
 
3453
int Xid_log_event::do_apply_event(const Relay_log_info *)
3454
3454
{
3455
3455
  return end_trans(session, COMMIT);
3456
3456
}
3823
3823
}
3824
3824
 
3825
3825
 
3826
 
int Slave_log_event::do_apply_event(Relay_log_info const *rli __attribute__((unused)))
 
3826
int Slave_log_event::do_apply_event(const Relay_log_info *)
3827
3827
{
3828
3828
  if (mysql_bin_log.is_open())
3829
3829
    mysql_bin_log.write(this);
4265
4265
  Delete_file_log_event::do_apply_event()
4266
4266
*/
4267
4267
 
4268
 
int Delete_file_log_event::do_apply_event(Relay_log_info const *rli __attribute__((unused)))
 
4268
int Delete_file_log_event::do_apply_event(const Relay_log_info *)
4269
4269
{
4270
4270
  char fname[FN_REFLEN+10];
4271
4271
  char *ext= slave_load_file_stem(fname, file_id, server_id, ".data");
5537
5537
  Mats says tbl->s lives longer than this event so it's ok to copy pointers
5538
5538
  (tbl->s->db etc) and not pointer content.
5539
5539
 */
5540
 
Table_map_log_event::Table_map_log_event(Session *session, Table *tbl, ulong tid,
5541
 
                                         bool is_transactional __attribute__((unused)),
5542
 
                                         uint16_t flags)
 
5540
Table_map_log_event::Table_map_log_event(Session *session, Table *tbl,
 
5541
                                         ulong tid, bool, uint16_t flags)
5543
5542
  : Log_event(session, 0, true),
5544
5543
    m_table(tbl),
5545
5544
    m_dbnam(tbl->s->db.str),