MySQL 9.1.0
Source Code Documentation
|
#include "cluster_metadata.h"
#include <algorithm>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <stdexcept>
#include <vector>
#include <errmsg.h>
#include <mysql.h>
#include "configuration_update_schema.h"
#include "dim.h"
#include "group_replication_metadata.h"
#include "log_suppressor.h"
#include "mysql/harness/dynamic_config.h"
#include "mysql/harness/event_state_tracker.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/utility/string.h"
#include "mysqld_error.h"
#include "mysqlrouter/cluster_metadata_instance_attributes.h"
#include "mysqlrouter/mysql_session.h"
#include "mysqlrouter/uri.h"
#include "mysqlrouter/utils.h"
#include "mysqlrouter/utils_sqlstring.h"
#include "router_config.h"
#include "tcp_address.h"
Functions | |
std::string | as_string (const char *input_str) |
Return a string representation of the input character string. More... | |
bool | set_instance_ports (metadata_cache::ManagedInstance &instance, const mysqlrouter::MySQLSession::Row &row, const size_t classic_port_column, const size_t x_port_column) |
static std::string | get_limit_target_cluster_clause (const mysqlrouter::TargetCluster &target_cluster, const mysqlrouter::ClusterType &cluster_type, mysqlrouter::MySQLSession &session) |
void | set_instance_attributes (metadata_cache::ManagedInstance &instance, const std::string &attributes) |
std::string as_string | ( | const char * | input_str | ) |
Return a string representation of the input character string.
input_str | A character string. |
|
static |
void set_instance_attributes | ( | metadata_cache::ManagedInstance & | instance, |
const std::string & | attributes | ||
) |
bool set_instance_ports | ( | metadata_cache::ManagedInstance & | instance, |
const mysqlrouter::MySQLSession::Row & | row, | ||
const size_t | classic_port_column, | ||
const size_t | x_port_column | ||
) |