My Project
Public Attributes
Binlog_storage_observer Struct Reference

#include <replication.h>

List of all members.

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


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

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines