MySQL 8.4.2
Source Code Documentation
classic_connect.cc File Reference

Namespaces

namespace  anonymous_namespace{classic_connect.cc}
 

Functions

static std::string destination_id_from_endpoint (const std::string &host_name, const std::string &service_name)
 
static std::string destination_id_from_endpoint (const net::ip::tcp::resolver::results_type::iterator::value_type &endpoint)
 
static stdx::expected< std::error_code, std::error_code > sock_error_code (MysqlRoutingClassicConnectionBase::ServerSideConnection &conn)
 
static bool skip_destination (MysqlRoutingClassicConnectionBase *conn, Destination *destination)
 
static stdx::expected< void, std::error_code > socket_is_alive (const ConnectionPool::ServerSideConnection &server_conn)
 
std::string anonymous_namespace{classic_connect.cc}::pretty_endpoint (const net::ip::tcp::endpoint &ep, const std::string &hostname)
 

Function Documentation

◆ destination_id_from_endpoint() [1/2]

static std::string destination_id_from_endpoint ( const net::ip::tcp::resolver::results_type::iterator::value_type endpoint)
static

◆ destination_id_from_endpoint() [2/2]

static std::string destination_id_from_endpoint ( const std::string &  host_name,
const std::string &  service_name 
)
static

◆ skip_destination()

static bool skip_destination ( MysqlRoutingClassicConnectionBase conn,
Destination destination 
)
static

◆ sock_error_code()

static stdx::expected< std::error_code, std::error_code > sock_error_code ( MysqlRoutingClassicConnectionBase::ServerSideConnection conn)
static

◆ socket_is_alive()

static stdx::expected< void, std::error_code > socket_is_alive ( const ConnectionPool::ServerSideConnection server_conn)
static