~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to sql/log_event.h

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
1620
1620
};
1621
1621
 
1622
1622
 
1623
 
/**
1624
 
  @class Muted_query_log_event
1625
 
 
1626
 
  Pretends to log SQL queries, but doesn't actually do so.  This is
1627
 
  used internally only and never written to any binlog.
1628
 
 
1629
 
  @section Muted_query_log_event_binary_format Binary Format
1630
 
 
1631
 
  This log event is not stored, and thus the binary format is 0 bytes
1632
 
  long.  Note that not even the Common-Header is stored.
1633
 
*/
1634
 
class Muted_query_log_event: public Query_log_event
1635
 
{
1636
 
public:
1637
 
#ifndef MYSQL_CLIENT
1638
 
  Muted_query_log_event();
1639
 
 
1640
 
  bool write(IO_CACHE* file) { return(false); };
1641
 
  virtual bool write_post_header_for_derived(IO_CACHE* file) { return FALSE; }
1642
 
#else
1643
 
  Muted_query_log_event() {}
1644
 
#endif
1645
 
};
1646
 
 
1647
 
 
1648
1623
#ifdef HAVE_REPLICATION
1649
1624
 
1650
1625
/**