MySQL  8.0.18
Source Code Documentation
Gtid_set::String_format Struct Reference

Class Gtid_set::String_format defines the separators used by Gtid_set::to_string. More...

#include <rpl_gtid.h>

Public Attributes

const char * begin
 The generated string begins with this. More...
 
const char * end
 The generated string begins with this. More...
 
const char * sid_gno_separator
 In 'SID:GNO', this is the ':'. More...
 
const char * gno_start_end_separator
 In 'SID:GNO-GNO', this is the '-'. More...
 
const char * gno_gno_separator
 In 'SID:GNO:GNO', this is the second ':'. More...
 
const char * gno_sid_separator
 In 'SID:GNO,SID:GNO', this is the ','. More...
 
const char * empty_set_string
 If the set is empty and this is not NULL, then this string is generated. More...
 
const int begin_length
 The following fields are the lengths of each field above. More...
 
const int end_length
 
const int sid_gno_separator_length
 
const int gno_start_end_separator_length
 
const int gno_gno_separator_length
 
const int gno_sid_separator_length
 
const int empty_set_string_length
 

Detailed Description

Class Gtid_set::String_format defines the separators used by Gtid_set::to_string.

Member Data Documentation

◆ begin

const char* Gtid_set::String_format::begin

The generated string begins with this.

◆ begin_length

const int Gtid_set::String_format::begin_length

The following fields are the lengths of each field above.

◆ empty_set_string

const char* Gtid_set::String_format::empty_set_string

If the set is empty and this is not NULL, then this string is generated.

◆ empty_set_string_length

const int Gtid_set::String_format::empty_set_string_length

◆ end

const char* Gtid_set::String_format::end

The generated string begins with this.

◆ end_length

const int Gtid_set::String_format::end_length

◆ gno_gno_separator

const char* Gtid_set::String_format::gno_gno_separator

In 'SID:GNO:GNO', this is the second ':'.

◆ gno_gno_separator_length

const int Gtid_set::String_format::gno_gno_separator_length

◆ gno_sid_separator

const char* Gtid_set::String_format::gno_sid_separator

In 'SID:GNO,SID:GNO', this is the ','.

◆ gno_sid_separator_length

const int Gtid_set::String_format::gno_sid_separator_length

◆ gno_start_end_separator

const char* Gtid_set::String_format::gno_start_end_separator

In 'SID:GNO-GNO', this is the '-'.

◆ gno_start_end_separator_length

const int Gtid_set::String_format::gno_start_end_separator_length

◆ sid_gno_separator

const char* Gtid_set::String_format::sid_gno_separator

In 'SID:GNO', this is the ':'.

◆ sid_gno_separator_length

const int Gtid_set::String_format::sid_gno_separator_length

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