Public Member Functions |
| binlog_cache_data (bool trx_cache_arg, my_off_t max_binlog_cache_size_arg, ulong *ptr_binlog_cache_use_arg, ulong *ptr_binlog_cache_disk_use_arg) |
int | finalize (THD *thd, Log_event *end_event) |
int | flush (THD *thd, my_off_t *bytes, bool *wrote_xid) |
int | write_event (THD *thd, Log_event *event) |
bool | is_binlog_empty () const |
bool | is_group_cache_empty () const |
bool | dbug_is_finalized () const |
Rows_log_event * | pending () const |
void | set_pending (Rows_log_event *const pending) |
void | set_incident (void) |
bool | has_incident (void) const |
bool | has_xid () const |
bool | is_trx_cache () const |
my_off_t | get_byte_position () const |
virtual void | reset () |
my_off_t | reset_write_pos (my_off_t pos, bool use_reinit) |
Caches for non-transactional and transactional data before writing it to the binary log.
- Todo:
- All the access functions for the flags suggest that the encapsuling is not done correctly, so try to move any logic that requires access to the flags into the cache.
Definition at line 309 of file binlog.cc.