MySQL 8.0.40
Source Code Documentation
Gcs_mysql_network_provider_native_interface_impl Class Reference

Internal implementation of Gcs_mysql_network_provider_native_interface_impl that serves as a proxy for MySQL Client API functions. More...

#include <gcs_mysql_network_provider.h>

Inheritance diagram for Gcs_mysql_network_provider_native_interface_impl:
[legend]

Public Member Functions

 Gcs_mysql_network_provider_native_interface_impl ()
 
virtual ~Gcs_mysql_network_provider_native_interface_impl () override
 
MYSQLmysql_real_connect (MYSQL *mysql, const char *host, const char *user, const char *passwd, const char *db, unsigned int port, const char *unix_socket, unsigned long clientflag) override
 Implementation of. More...
 
bool send_command (MYSQL *mysql, enum enum_server_command command, const unsigned char *arg, size_t length, bool skip_check) override
 Implementation of. More...
 
MYSQLmysql_init (MYSQL *sock) override
 Implementation of. More...
 
void mysql_close (MYSQL *sock) override
 Implementation of. More...
 
int channel_get_network_namespace (std::string &net_ns) override
 Implementation of. More...
 
bool set_network_namespace (const std::string &network_namespace) override
 Implementation of. More...
 
bool restore_original_network_namespace () override
 Implementation of. More...
 
void mysql_free (void *ptr) override
 Implementation of. More...
 
int mysql_options (MYSQL *mysql, enum mysql_option option, const void *arg) override
 Implementation of. More...
 
bool mysql_ssl_set (MYSQL *mysql, const char *key, const char *cert, const char *ca, const char *capath, const char *cipher) override
 Implementation of. More...
 
- Public Member Functions inherited from Gcs_mysql_network_provider_native_interface
virtual ~Gcs_mysql_network_provider_native_interface ()
 
- Public Member Functions inherited from Network_namespace_manager
virtual ~Network_namespace_manager ()
 

Private Attributes

Replication_thread_api m_recovery_channel
 

Detailed Description

Internal implementation of Gcs_mysql_network_provider_native_interface_impl that serves as a proxy for MySQL Client API functions.

Constructor & Destructor Documentation

◆ Gcs_mysql_network_provider_native_interface_impl()

Gcs_mysql_network_provider_native_interface_impl::Gcs_mysql_network_provider_native_interface_impl ( )
inline

◆ ~Gcs_mysql_network_provider_native_interface_impl()

virtual Gcs_mysql_network_provider_native_interface_impl::~Gcs_mysql_network_provider_native_interface_impl ( )
inlineoverridevirtual

Member Function Documentation

◆ channel_get_network_namespace()

int Gcs_mysql_network_provider_native_interface_impl::channel_get_network_namespace ( std::string &  net_ns)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::channel_get_network_namespace

Implements Gcs_mysql_network_provider_native_interface.

◆ mysql_close()

void Gcs_mysql_network_provider_native_interface_impl::mysql_close ( MYSQL sock)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::mysql_close

Implements Gcs_mysql_network_provider_native_interface.

◆ mysql_free()

void Gcs_mysql_network_provider_native_interface_impl::mysql_free ( void *  ptr)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::my_free

Implements Gcs_mysql_network_provider_native_interface.

◆ mysql_init()

MYSQL * Gcs_mysql_network_provider_native_interface_impl::mysql_init ( MYSQL sock)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::mysql_init

Implements Gcs_mysql_network_provider_native_interface.

◆ mysql_options()

int Gcs_mysql_network_provider_native_interface_impl::mysql_options ( MYSQL mysql,
enum mysql_option  option,
const void *  arg 
)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::mysql_options

Implements Gcs_mysql_network_provider_native_interface.

◆ mysql_real_connect()

MYSQL * Gcs_mysql_network_provider_native_interface_impl::mysql_real_connect ( MYSQL mysql,
const char *  host,
const char *  user,
const char *  passwd,
const char *  db,
unsigned int  port,
const char *  unix_socket,
unsigned long  clientflag 
)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::mysql_real_connect

Implements Gcs_mysql_network_provider_native_interface.

◆ mysql_ssl_set()

bool Gcs_mysql_network_provider_native_interface_impl::mysql_ssl_set ( MYSQL mysql,
const char *  key,
const char *  cert,
const char *  ca,
const char *  capath,
const char *  cipher 
)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::mysql_ssl_set

Implements Gcs_mysql_network_provider_native_interface.

◆ restore_original_network_namespace()

bool Gcs_mysql_network_provider_native_interface_impl::restore_original_network_namespace ( )
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::restore_original_network_namespace

Implements Gcs_mysql_network_provider_native_interface.

◆ send_command()

bool Gcs_mysql_network_provider_native_interface_impl::send_command ( MYSQL mysql,
enum enum_server_command  command,
const unsigned char *  arg,
size_t  length,
bool  skip_check 
)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::send_command

Implements Gcs_mysql_network_provider_native_interface.

◆ set_network_namespace()

bool Gcs_mysql_network_provider_native_interface_impl::set_network_namespace ( const std::string &  network_namespace)
overridevirtual

Implementation of.

See also
Gcs_mysql_network_provider_native_interface::set_network_namespace

Implements Gcs_mysql_network_provider_native_interface.

Member Data Documentation

◆ m_recovery_channel

Replication_thread_api Gcs_mysql_network_provider_native_interface_impl::m_recovery_channel
private

The documentation for this class was generated from the following files: