MySQL 8.0.40
Source Code Documentation
|
Functions | |
DestMetadataCacheGroup::ServerRole | get_server_role_from_uri (const mysqlrouter::URIQuery &uri) |
std::string | get_server_role_name (const DestMetadataCacheGroup::ServerRole role) |
routing::RoutingStrategy | get_default_routing_strategy (const DestMetadataCacheGroup::ServerRole role) |
bool | mode_is_valid (const routing::AccessMode mode, const DestMetadataCacheGroup::ServerRole role) |
check that mode (if present) is correct for the role More... | |
bool | get_yes_no_option (const mysqlrouter::URIQuery &uri, const std::string &option_name, const bool defalut_res, const std::function< void()> &check_option_allowed) |
bool | get_disconnect_on_promoted_to_primary (const mysqlrouter::URIQuery &uri, const DestMetadataCacheGroup::ServerRole &role) |
bool | get_disconnect_on_metadata_unavailable (const mysqlrouter::URIQuery &uri) |
Variables | |
constexpr const std::array< std::pair< std::string_view, DestMetadataCacheGroup::ServerRole >, 3 > | known_roles |
routing::RoutingStrategy anonymous_namespace{dest_metadata_cache.cc}::get_default_routing_strategy | ( | const DestMetadataCacheGroup::ServerRole | role | ) |
bool anonymous_namespace{dest_metadata_cache.cc}::get_disconnect_on_metadata_unavailable | ( | const mysqlrouter::URIQuery & | uri | ) |
bool anonymous_namespace{dest_metadata_cache.cc}::get_disconnect_on_promoted_to_primary | ( | const mysqlrouter::URIQuery & | uri, |
const DestMetadataCacheGroup::ServerRole & | role | ||
) |
DestMetadataCacheGroup::ServerRole anonymous_namespace{dest_metadata_cache.cc}::get_server_role_from_uri | ( | const mysqlrouter::URIQuery & | uri | ) |
std::string anonymous_namespace{dest_metadata_cache.cc}::get_server_role_name | ( | const DestMetadataCacheGroup::ServerRole | role | ) |
bool anonymous_namespace{dest_metadata_cache.cc}::get_yes_no_option | ( | const mysqlrouter::URIQuery & | uri, |
const std::string & | option_name, | ||
const bool | defalut_res, | ||
const std::function< void()> & | check_option_allowed | ||
) |
bool anonymous_namespace{dest_metadata_cache.cc}::mode_is_valid | ( | const routing::AccessMode | mode, |
const DestMetadataCacheGroup::ServerRole | role | ||
) |
check that mode (if present) is correct for the role
|
constexpr |