MySQL 8.3.0
Source Code Documentation
MYSQL_RPL Struct Reference

Struct for information about a replication stream. More...

#include <mysql.h>

Public Attributes

size_t file_name_length
 
const char * file_name
 Length of the 'file_name' or 0
More...
 
uint64_t start_position
 Filename of the binary log to read. More...
 
unsigned int server_id
 Position in the binary log to
More...
 
unsigned int flags
 Server ID to use when identifying
More...
 
size_t gtid_set_encoded_size
 Flags, e.g. More...
 
void(* fix_gtid_set )(struct MYSQL_RPL *rpl, unsigned char *packet_gtid_set)
 Callback function which is called
More...
 
void * gtid_set_arg
 
unsigned long size
 GTID set data or an argument for
More...
 
const unsigned char * buffer
 Size of the packet returned by
More...
 

Detailed Description

Struct for information about a replication stream.

See also
mysql_binlog_open()
mysql_binlog_fetch()
mysql_binlog_close()

Member Data Documentation

◆ buffer

const unsigned char* MYSQL_RPL::buffer

Size of the packet returned by

◆ file_name

const char* MYSQL_RPL::file_name

Length of the 'file_name' or 0

◆ file_name_length

size_t MYSQL_RPL::file_name_length

◆ fix_gtid_set

void(* MYSQL_RPL::fix_gtid_set) (struct MYSQL_RPL *rpl, unsigned char *packet_gtid_set)

Callback function which is called

◆ flags

unsigned int MYSQL_RPL::flags

Server ID to use when identifying

◆ gtid_set_arg

void* MYSQL_RPL::gtid_set_arg

◆ gtid_set_encoded_size

size_t MYSQL_RPL::gtid_set_encoded_size

Flags, e.g.

MYSQL_RPL_GTID
Size of gtid set data

◆ server_id

unsigned int MYSQL_RPL::server_id

Position in the binary log to

◆ size

unsigned long MYSQL_RPL::size

GTID set data or an argument for

◆ start_position

uint64_t MYSQL_RPL::start_position

Filename of the binary log to read.


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