![]() |
MySQL 9.3.0
Source Code Documentation
|
Functions | |
void | assert_one_of_ci (const std::string &key, const std::string &value, std::initializer_list< const char * > allowed_values) |
assert 'value' is one of the allowed values. More... | |
void | assert_option_value_in_range (const std::string &value, const int min, const int max) |
mysqlrouter::URI | parse_server_uri (const std::string &server_uri, const std::string &bootstrap_socket) |
std::string | get_opt (const std::map< std::string, std::string > &map, const std::string &key, const std::string &default_value) |
void | set_ssl_options (MySQLSession *sess, const std::map< std::string, std::string > &options) |
bool | is_valid_conf_ident (const std::string &name) |
void anonymous_namespace{router_conf.cc}::assert_one_of_ci | ( | const std::string & | key, |
const std::string & | value, | ||
std::initializer_list< const char * > | allowed_values | ||
) |
assert 'value' is one of the allowed values.
value is compared case-insensitive
key | key name to report in case of failure |
value | value to check |
allowed_values | allowed values. |
std::invalid_argument | if value is not part of allowed_values. |
void anonymous_namespace{router_conf.cc}::assert_option_value_in_range | ( | const std::string & | value, |
const int | min, | ||
const int | max | ||
) |
|
inline |
bool anonymous_namespace{router_conf.cc}::is_valid_conf_ident | ( | const std::string & | name | ) |
mysqlrouter::URI anonymous_namespace{router_conf.cc}::parse_server_uri | ( | const std::string & | server_uri, |
const std::string & | bootstrap_socket | ||
) |
void anonymous_namespace{router_conf.cc}::set_ssl_options | ( | MySQLSession * | sess, |
const std::map< std::string, std::string > & | options | ||
) |