MySQL 8.0.40
Source Code Documentation
plugin_config.cc File Reference
#include "plugin_config.h"
#include <algorithm>
#include <array>
#include <climits>
#include <exception>
#include <map>
#include <stdexcept>
#include <vector>
#include "dim.h"
#include "mysql/harness/logging/logging.h"
#include "mysql/harness/utility/string.h"
#include "mysqlrouter/metadata_cache.h"
#include "mysqlrouter/supported_metadata_cache_options.h"
#include "mysqlrouter/uri.h"
#include "mysqlrouter/utils.h"

Classes

class  ClusterTypeOption
 

Macros

#define GET_OPTION_CHECKED(option, section, name, value)
 

Typedefs

using MilliSecondsOption = mysql_harness::MilliSecondsOption
 
using StringOption = mysql_harness::StringOption
 
template<typename T >
using IntOption = mysql_harness::IntOption< T >
 

Macro Definition Documentation

◆ GET_OPTION_CHECKED

#define GET_OPTION_CHECKED (   option,
  section,
  name,
  value 
)
Value:
option = get_option(section, name, value);
static std::string get_option(const mysql_harness::ConfigSection *section, const std::string &key, const std::string &def_value)
Definition: metadata_cache_plugin.cc:107
constexpr bool str_in_collection(const T &t, const std::string_view &k)
Definition: string.h:157
case opt name
Definition: sslopt-case.h:33
static constexpr std::array< const char *, 19 > metadata_cache_supported_options
Definition: supported_metadata_cache_options.h:31

Typedef Documentation

◆ IntOption

template<typename T >
using IntOption = mysql_harness::IntOption<T>

◆ MilliSecondsOption

◆ StringOption