MySQL 9.1.0
Source Code Documentation
udf_communication_protocol.cc File Reference

Functions

static bool group_replication_get_communication_protocol_init (UDF_INIT *initid, UDF_ARGS *args, char *message)
 
static void group_replication_get_communication_protocol_deinit (UDF_INIT *)
 
static char * group_replication_get_communication_protocol (UDF_INIT *, UDF_ARGS *, char *result, unsigned long *length, unsigned char *is_null, unsigned char *error)
 
udf_descriptor get_communication_protocol_udf ()
 
static bool group_replication_set_communication_protocol_init (UDF_INIT *initid, UDF_ARGS *args, char *message)
 
static void group_replication_set_communication_protocol_deinit (UDF_INIT *)
 
static char * group_replication_set_communication_protocol (UDF_INIT *, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *is_null, unsigned char *error)
 
udf_descriptor set_communication_protocol_udf ()
 

Variables

static const Member_version min_version_required (0x080016)
 
const char *const wrong_nr_args_str
 
const char *const invalid_format_str
 
const char *const value_outside_domain_str = "%s is not between %s and %s"
 
const char *const wrong_value_for_paxos_single_leader
 

Function Documentation

◆ get_communication_protocol_udf()

udf_descriptor get_communication_protocol_udf ( )
Returns
the descriptor of the "group_replication_get_communication_protocol" UDF

◆ group_replication_get_communication_protocol()

static char * group_replication_get_communication_protocol ( UDF_INIT ,
UDF_ARGS ,
char *  result,
unsigned long *  length,
unsigned char *  is_null,
unsigned char *  error 
)
static

◆ group_replication_get_communication_protocol_deinit()

static void group_replication_get_communication_protocol_deinit ( UDF_INIT )
static

◆ group_replication_get_communication_protocol_init()

static bool group_replication_get_communication_protocol_init ( UDF_INIT initid,
UDF_ARGS args,
char *  message 
)
static

◆ group_replication_set_communication_protocol()

static char * group_replication_set_communication_protocol ( UDF_INIT ,
UDF_ARGS args,
char *  result,
unsigned long *  length,
unsigned char *  is_null,
unsigned char *  error 
)
static

◆ group_replication_set_communication_protocol_deinit()

static void group_replication_set_communication_protocol_deinit ( UDF_INIT )
static

◆ group_replication_set_communication_protocol_init()

static bool group_replication_set_communication_protocol_init ( UDF_INIT initid,
UDF_ARGS args,
char *  message 
)
static

◆ set_communication_protocol_udf()

udf_descriptor set_communication_protocol_udf ( )
Returns
the descriptor of the "group_replication_set_communication_protocol" UDF

Variable Documentation

◆ invalid_format_str

const char* const invalid_format_str
Initial value:
=
"'%s' is not version string argument with format major.minor.patch"

◆ min_version_required

const Member_version min_version_required(0x080016) ( 0x080016  )
static

◆ value_outside_domain_str

const char* const value_outside_domain_str = "%s is not between %s and %s"

◆ wrong_nr_args_str

const char* const wrong_nr_args_str
Initial value:
=
"UDF takes one version string argument with format major.minor.patch"

◆ wrong_value_for_paxos_single_leader

const char* const wrong_value_for_paxos_single_leader
Initial value:
=
"group_replication_paxos_single_leader must be OFF when choosing a version "
"lower than 8.0.27."