MySQL 9.3.0
Source Code Documentation
opt_tracker.cc File Reference

Typedefs

typedef weak_service_reference< const mysql_service_mysql_option_tracker_option_t, c_name_group_replication, s_namesrv_weak_option_option
 

Functions

static const std::string s_name ("mysql_option_tracker_option")
 
static const std::string f_name_group_replication ("Group Replication")
 
static const std::string c_name_group_replication ("group_replication plugin")
 
static bool cb (unsigned long long new_value)
 
void track_group_replication_available ()
 Tracks the Group Replication feature as available, is installed but not running. More...
 
void track_group_replication_unavailable ()
 Tracks the Group Replication feature as unavailable, is not installed. More...
 
void track_group_replication_enabled (bool enabled)
 Tracks the Group Replication feature, including the usage data. More...
 

Variables

unsigned long long opt_option_tracker_usage_group_replication_plugin = 0
 A status variable counter for usage tracking by the option_tracker component. More...
 
static bool cb_define_failed = false
 

Typedef Documentation

◆ srv_weak_option_option

Function Documentation

◆ c_name_group_replication()

static const std::string c_name_group_replication ( "group_replication plugin"  )
static

◆ cb()

static bool cb ( unsigned long long  new_value)
static

◆ f_name_group_replication()

static const std::string f_name_group_replication ( "Group Replication"  )
static

◆ s_name()

static const std::string s_name ( "mysql_option_tracker_option"  )
static

◆ track_group_replication_available()

void track_group_replication_available ( )

Tracks the Group Replication feature as available, is installed but not running.

◆ track_group_replication_enabled()

void track_group_replication_enabled ( bool  enabled)

Tracks the Group Replication feature, including the usage data.

It only updates usage data if the feature is enabled.

Parameters
enabledtrue: tracks as enabled false: tracks as disabled

◆ track_group_replication_unavailable()

void track_group_replication_unavailable ( )

Tracks the Group Replication feature as unavailable, is not installed.

Variable Documentation

◆ cb_define_failed

bool cb_define_failed = false
static

◆ opt_option_tracker_usage_group_replication_plugin

unsigned long long opt_option_tracker_usage_group_replication_plugin = 0

A status variable counter for usage tracking by the option_tracker component.