MySQL 8.4.2
Source Code Documentation
udf_single_primary.cc File Reference

Functions

static char * group_replication_set_as_primary (UDF_INIT *, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *is_null, unsigned char *error)
 
static bool group_replication_set_as_primary_init (UDF_INIT *init_id, UDF_ARGS *args, char *message)
 
static void group_replication_set_as_primary_deinit (UDF_INIT *)
 
udf_descriptor set_as_primary_udf ()
 Returns the descriptor of the "group_replication_set_as_primary" UDF. More...
 
static char * group_replication_switch_to_single_primary_mode (UDF_INIT *, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *is_null, unsigned char *error)
 
static bool group_replication_switch_to_single_primary_mode_init (UDF_INIT *initid, UDF_ARGS *args, char *message)
 
static void group_replication_switch_to_single_primary_mode_deinit (UDF_INIT *)
 
udf_descriptor switch_to_single_primary_udf ()
 Returns the descriptor of the "group_replication_switch_to_single_primary" UDF. More...
 

Function Documentation

◆ group_replication_set_as_primary()

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

◆ group_replication_set_as_primary_deinit()

static void group_replication_set_as_primary_deinit ( UDF_INIT )
static

◆ group_replication_set_as_primary_init()

static bool group_replication_set_as_primary_init ( UDF_INIT init_id,
UDF_ARGS args,
char *  message 
)
static

◆ group_replication_switch_to_single_primary_mode()

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

◆ group_replication_switch_to_single_primary_mode_deinit()

static void group_replication_switch_to_single_primary_mode_deinit ( UDF_INIT )
static

◆ group_replication_switch_to_single_primary_mode_init()

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

◆ set_as_primary_udf()

udf_descriptor set_as_primary_udf ( )

Returns the descriptor of the "group_replication_set_as_primary" UDF.

Returns
the descriptor of the "group_replication_set_as_primary" UDF

◆ switch_to_single_primary_udf()

udf_descriptor switch_to_single_primary_udf ( )

Returns the descriptor of the "group_replication_switch_to_single_primary" UDF.

Returns
the descriptor of the "group_replication_switch_to_single_primary" UDF