#include <rpl_async_conn_failover_add_source_udf.h>
◆ Rpl_async_conn_failover_add_source()
Rpl_async_conn_failover_add_source::Rpl_async_conn_failover_add_source |
( |
| ) |
|
|
default |
◆ ~Rpl_async_conn_failover_add_source()
Rpl_async_conn_failover_add_source::~Rpl_async_conn_failover_add_source |
( |
| ) |
|
|
overridedefault |
◆ add_source()
char * Rpl_async_conn_failover_add_source::add_source |
( |
UDF_INIT * |
init_id, |
|
|
UDF_ARGS * |
args, |
|
|
char * |
result, |
|
|
unsigned long * |
length, |
|
|
unsigned char * |
is_null, |
|
|
unsigned char * |
error |
|
) |
| |
|
static |
Add source network configuration details.
- Parameters
-
[in] | init_id | UDF_INIT structure |
[in] | args | UDF_ARGS structure containing argument details |
[out] | result | error message |
[out] | length | error message length |
[out] | is_null | if result is null |
[in,out] | error | error code |
- Returns
- error message
◆ add_source_deinit()
void Rpl_async_conn_failover_add_source::add_source_deinit |
( |
UDF_INIT * |
init_id | ) |
|
|
static |
Deinitialize variables initialized during init function.
- Parameters
-
[in] | init_id | UDF_INIT structure |
◆ add_source_init()
bool Rpl_async_conn_failover_add_source::add_source_init |
( |
UDF_INIT * |
init_id, |
|
|
UDF_ARGS * |
args, |
|
|
char * |
message |
|
) |
| |
|
static |
Initialize and verifies UDF's arguments.
Also sets argument and result charset.
- Parameters
-
[in] | init_id | UDF_INIT structure |
[in] | args | UDF_ARGS structure containing argument details |
[out] | message | error message |
- Returns
- True if error, false otherwise.
◆ deinit()
bool Rpl_async_conn_failover_add_source::deinit |
( |
| ) |
|
Release the udf_metadata service.
- Return values
-
false | Success |
true | Failure. service could not be released |
◆ init()
bool Rpl_async_conn_failover_add_source::init |
( |
| ) |
|
|
overridevirtual |
Initialize variables, acquires the mysql_service_mysql_udf_metadata from the registry service and register the Asynchronous Connection Failover's UDFs.
If there is an error registering any UDF, all installed UDFs are unregistered.
- Return values
-
true | if there was an error |
false | if all UDFs were registered |
Implements Udf_service_impl.
◆ m_charset_service
◆ m_initialized
bool Rpl_async_conn_failover_add_source::m_initialized {false} |
|
private |
◆ m_udf_name
constexpr const char* Rpl_async_conn_failover_add_source::m_udf_name |
|
staticconstexprprivate |
Initial value:=
"asynchronous_connection_failover_add_source"
The documentation for this class was generated from the following files: