MySQL 8.1.0
Source Code Documentation
Binlog_transmit_param Struct Reference

Replication binlog transmitter (binlog dump) observer parameter. More...

#include <replication.h>

Public Member Functions

void set_observe_flag ()
 
void set_dont_observe_flag ()
 
bool should_observe ()
 If F_OBSERVE is set by any plugin, then it should observe binlog transmission, even F_DONT_OBSERVE is set by some plugins. More...
 

Public Attributes

uint32 server_id
 
uint32 flags
 

Static Public Attributes

static const uint32 F_OBSERVE = 1
 
static const uint32 F_DONT_OBSERVE = 2
 

Detailed Description

Replication binlog transmitter (binlog dump) observer parameter.

Member Function Documentation

◆ set_dont_observe_flag()

void Binlog_transmit_param::set_dont_observe_flag ( )
inline

◆ set_observe_flag()

void Binlog_transmit_param::set_observe_flag ( )
inline

◆ should_observe()

bool Binlog_transmit_param::should_observe ( )
inline

If F_OBSERVE is set by any plugin, then it should observe binlog transmission, even F_DONT_OBSERVE is set by some plugins.

If both F_OBSERVE and F_DONT_OBSERVE are not set, then it is an old plugin. In this case, it should always observe binlog transmission.

Member Data Documentation

◆ F_DONT_OBSERVE

const uint32 Binlog_transmit_param::F_DONT_OBSERVE = 2
static

◆ F_OBSERVE

const uint32 Binlog_transmit_param::F_OBSERVE = 1
static

◆ flags

uint32 Binlog_transmit_param::flags

◆ server_id

uint32 Binlog_transmit_param::server_id

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