MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Binlog_storage_observer Struct Reference

#include <replication.h>

Public Attributes

uint32 len
int(* after_flush )(Binlog_storage_param *param, const char *log_file, my_off_t log_pos)

Detailed Description

Observe binlog logging storage

Definition at line 116 of file replication.h.

Member Data Documentation

int(* Binlog_storage_observer::after_flush)(Binlog_storage_param *param, const char *log_file, my_off_t log_pos)

This callback is called after binlog has been flushed

This callback is called after cached events have been flushed to binary log file but not yet synced.

Parameters
paramObserver common parameter
log_fileBinlog file name been updated
log_posBinlog position after update
Return values
0Sucess
1Failure

Definition at line 132 of file replication.h.


The documentation for this struct was generated from the following file: