MySQL 8.4.2
Source Code Documentation
udf_registration.cc File Reference

Functions

bool register_udfs ()
 Registers the plugin's UDFs. More...
 
bool unregister_udfs ()
 Unregisters the plugin's UDFs. More...
 

Variables

static std::array< udf_descriptor, 10 > udfs
 

Function Documentation

◆ register_udfs()

bool register_udfs ( )

Registers the plugin's UDFs.

If there is an error registering any UDF, all installed UDFs are unregistered.

Return values
trueif there was an error
falseif all UDFs were registered

Registers the plugin's UDFs.

Returns
Status
Return values
0success
non-zerofailure

◆ unregister_udfs()

bool unregister_udfs ( )

Unregisters the plugin's UDFs.

Return values
trueif there was an error
falseif all UDFs were unregistered

Unregisters the plugin's UDFs.

Returns
Status
Return values
0success
non-zerofailure

Variable Documentation

◆ udfs

std::array<udf_descriptor, 10> udfs
static
Initial value:
= {
{
udf_descriptor set_communication_protocol_udf()
Definition: udf_communication_protocol.cc:310
udf_descriptor get_communication_protocol_udf()
Definition: udf_communication_protocol.cc:104
udf_descriptor disable_member_action_udf()
Returns the descriptor of the "group_replication_disable_member_action" UDF.
Definition: udf_member_actions.cc:281
udf_descriptor reset_member_actions_udf()
Returns the descriptor of the "group_replication_reset_member_actions" UDF.
Definition: udf_member_actions.cc:389
udf_descriptor enable_member_action_udf()
Returns the descriptor of the "group_replication_enable_member_action" UDF.
Definition: udf_member_actions.cc:153
udf_descriptor switch_to_multi_primary_udf()
Returns the descriptor of the "group_replication_switch_to_multi_primary" UDF.
Definition: udf_multi_primary.cc:133
udf_descriptor set_as_primary_udf()
Returns the descriptor of the "group_replication_set_as_primary" UDF.
Definition: udf_single_primary.cc:230
udf_descriptor switch_to_single_primary_udf()
Returns the descriptor of the "group_replication_switch_to_single_primary" UDF.
Definition: udf_single_primary.cc:394
udf_descriptor set_write_concurrency_udf()
Returns the descriptor of the "group_replication_set_write_concurrency" UDF.
Definition: udf_write_concurrency.cc:222
udf_descriptor get_write_concurrency_udf()
Returns the descriptor of the "group_replication_get_write_concurrency" UDF.
Definition: udf_write_concurrency.cc:85