~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/log_event.cc

  • Committer: Monty Taylor
  • Date: 2008-07-09 15:52:52 UTC
  • mto: (77.6.1 glibclient-merge)
  • mto: This revision was merged to the branch mainline in revision 112.
  • Revision ID: monty@inaugust.com-20080709155252-lnzmxxje1g40z3a7
Warning fixes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
3113
3113
}
3114
3114
 
3115
3115
Log_event::enum_skip_reason
3116
 
Format_description_log_event::do_shall_skip(Relay_log_info *rli)
 
3116
Format_description_log_event::do_shall_skip(Relay_log_info *rli __attribute__((__unused__)))
3117
3117
{
3118
3118
  return Log_event::EVENT_SKIP_NOT;
3119
3119
}
4444
4444
 
4445
4445
 
4446
4446
#if defined(HAVE_REPLICATION) && !defined(MYSQL_CLIENT)
4447
 
int Xid_log_event::do_apply_event(Relay_log_info const *rli)
 
4447
int Xid_log_event::do_apply_event(Relay_log_info const *rli __attribute__((__unused__)))
4448
4448
{
4449
4449
  /* For a slave Xid_log_event is COMMIT */
4450
4450
  general_log_print(thd, COM_QUERY,
4997
4997
 
4998
4998
 
4999
4999
#ifndef MYSQL_CLIENT
5000
 
int Slave_log_event::do_apply_event(Relay_log_info const *rli)
 
5000
int Slave_log_event::do_apply_event(Relay_log_info const *rli __attribute__((__unused__)))
5001
5001
{
5002
5002
  if (mysql_bin_log.is_open())
5003
5003
    mysql_bin_log.write(this);
5563
5563
*/
5564
5564
 
5565
5565
#if defined(HAVE_REPLICATION) && !defined(MYSQL_CLIENT)
5566
 
int Delete_file_log_event::do_apply_event(Relay_log_info const *rli)
 
5566
int Delete_file_log_event::do_apply_event(Relay_log_info const *rli __attribute__((__unused__)))
5567
5567
{
5568
5568
  char fname[FN_REFLEN+10];
5569
5569
  char *ext= slave_load_file_stem(fname, file_id, server_id, ".data");
7019
7019
 */
7020
7020
#if !defined(MYSQL_CLIENT)
7021
7021
Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid,
7022
 
                                         bool is_transactional, uint16 flags)
 
7022
                                         bool is_transactional __attribute__((__unused__)),
 
7023
                                         uint16 flags)
7023
7024
  : Log_event(thd, 0, true),
7024
7025
    m_table(tbl),
7025
7026
    m_dbnam(tbl->s->db.str),