MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
classic_connect.cc File Reference

Namespaces

namespace  anonymous_namespace{classic_connect.cc}
 

Functions

static stdx::expected< std::error_code, std::error_code > sock_error_code (MysqlRoutingClassicConnectionBase::ServerSideConnection &conn)
 
static bool skip_destination (MysqlRoutingClassicConnectionBase *conn, Destination *destination)
 Skip destinations which don't match the current expected server-mode. More...
 
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 mysql_harness::DestinationEndpoint &ep, const mysql_harness::Destination &dest)
 

Function Documentation

◆ skip_destination()

static bool skip_destination ( MysqlRoutingClassicConnectionBase conn,
Destination destination 
)
static

Skip destinations which don't match the current expected server-mode.

◆ 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