MySQL 9.1.0
Source Code Documentation
dd::bootstrap::DD_bootstrap_ctx Class Reference

#include <bootstrap_ctx.h>

Public Member Functions

 DD_bootstrap_ctx ()=default
 
Stage get_stage () const
 
void set_stage (Stage stage)
 
bool supported_dd_version () const
 
void set_actual_dd_version (uint actual_dd_version)
 
void set_actual_I_S_version (uint actual_I_S_version)
 
uint get_actual_dd_version () const
 
uint get_actual_I_S_version () const
 
void set_dd_upgrade_done ()
 
bool dd_upgrade_done () const
 
void set_I_S_upgrade_done ()
 
bool I_S_upgrade_done () const
 
bool actual_dd_version_is (uint compare_actual_dd_version) const
 
bool supported_server_version (uint version) const
 
bool supported_server_version () const
 
bool is_server_patch_downgrade (uint compare_server_version) const
 
bool is_server_patch_downgrade () const
 
void set_upgraded_server_version (uint upgraded_server_version)
 
uint get_upgraded_server_version () const
 
bool upgraded_server_version_is (uint compare_upgraded_server_version) const
 
bool is_restart () const
 
bool is_dd_upgrade () const
 
bool is_server_upgrade () const
 
bool is_dd_upgrade_from_before (uint compare_actual_dd_version) const
 
bool is_server_upgrade_from_before (uint compare_upgraded_server_version) const
 
bool is_server_upgrade_from_after (uint compare_upgraded_server_version) const
 
bool is_minor_downgrade () const
 
bool is_above_minor_downgrade_threshold (THD *thd) const
 
bool is_initialize () const
 

Static Public Member Functions

static DD_bootstrap_ctxinstance ()
 

Private Attributes

uint m_did_dd_upgrade_from = 0
 
uint m_actual_dd_version = 0
 
uint m_upgraded_server_version = 0
 
Stage m_stage = Stage::NOT_STARTED
 
uint m_did_I_S_upgrade_from = 0
 
uint m_actual_I_S_version = 0
 

Constructor & Destructor Documentation

◆ DD_bootstrap_ctx()

dd::bootstrap::DD_bootstrap_ctx::DD_bootstrap_ctx ( )
default

Member Function Documentation

◆ actual_dd_version_is()

bool dd::bootstrap::DD_bootstrap_ctx::actual_dd_version_is ( uint  compare_actual_dd_version) const
inline

◆ dd_upgrade_done()

bool dd::bootstrap::DD_bootstrap_ctx::dd_upgrade_done ( ) const
inline

◆ get_actual_dd_version()

uint dd::bootstrap::DD_bootstrap_ctx::get_actual_dd_version ( ) const
inline

◆ get_actual_I_S_version()

uint dd::bootstrap::DD_bootstrap_ctx::get_actual_I_S_version ( ) const
inline

◆ get_stage()

Stage dd::bootstrap::DD_bootstrap_ctx::get_stage ( ) const
inline

◆ get_upgraded_server_version()

uint dd::bootstrap::DD_bootstrap_ctx::get_upgraded_server_version ( ) const
inline

◆ I_S_upgrade_done()

bool dd::bootstrap::DD_bootstrap_ctx::I_S_upgrade_done ( ) const
inline

◆ instance()

DD_bootstrap_ctx & dd::bootstrap::DD_bootstrap_ctx::instance ( )
static

◆ is_above_minor_downgrade_threshold()

bool dd::bootstrap::DD_bootstrap_ctx::is_above_minor_downgrade_threshold ( THD thd) const

◆ is_dd_upgrade()

bool dd::bootstrap::DD_bootstrap_ctx::is_dd_upgrade ( ) const
inline

◆ is_dd_upgrade_from_before()

bool dd::bootstrap::DD_bootstrap_ctx::is_dd_upgrade_from_before ( uint  compare_actual_dd_version) const
inline

◆ is_initialize()

bool dd::bootstrap::DD_bootstrap_ctx::is_initialize ( ) const
inline

◆ is_minor_downgrade()

bool dd::bootstrap::DD_bootstrap_ctx::is_minor_downgrade ( ) const
inline

◆ is_restart()

bool dd::bootstrap::DD_bootstrap_ctx::is_restart ( ) const
inline

◆ is_server_patch_downgrade() [1/2]

bool dd::bootstrap::DD_bootstrap_ctx::is_server_patch_downgrade ( ) const
inline

◆ is_server_patch_downgrade() [2/2]

bool dd::bootstrap::DD_bootstrap_ctx::is_server_patch_downgrade ( uint  compare_server_version) const
inline

◆ is_server_upgrade()

bool dd::bootstrap::DD_bootstrap_ctx::is_server_upgrade ( ) const
inline

◆ is_server_upgrade_from_after()

bool dd::bootstrap::DD_bootstrap_ctx::is_server_upgrade_from_after ( uint  compare_upgraded_server_version) const
inline

◆ is_server_upgrade_from_before()

bool dd::bootstrap::DD_bootstrap_ctx::is_server_upgrade_from_before ( uint  compare_upgraded_server_version) const
inline

◆ set_actual_dd_version()

void dd::bootstrap::DD_bootstrap_ctx::set_actual_dd_version ( uint  actual_dd_version)
inline

◆ set_actual_I_S_version()

void dd::bootstrap::DD_bootstrap_ctx::set_actual_I_S_version ( uint  actual_I_S_version)
inline

◆ set_dd_upgrade_done()

void dd::bootstrap::DD_bootstrap_ctx::set_dd_upgrade_done ( )
inline

◆ set_I_S_upgrade_done()

void dd::bootstrap::DD_bootstrap_ctx::set_I_S_upgrade_done ( )
inline

◆ set_stage()

void dd::bootstrap::DD_bootstrap_ctx::set_stage ( Stage  stage)
inline

◆ set_upgraded_server_version()

void dd::bootstrap::DD_bootstrap_ctx::set_upgraded_server_version ( uint  upgraded_server_version)
inline

◆ supported_dd_version()

bool dd::bootstrap::DD_bootstrap_ctx::supported_dd_version ( ) const
inline

◆ supported_server_version() [1/2]

bool dd::bootstrap::DD_bootstrap_ctx::supported_server_version ( ) const
inline

◆ supported_server_version() [2/2]

bool dd::bootstrap::DD_bootstrap_ctx::supported_server_version ( uint  version) const
inline

◆ upgraded_server_version_is()

bool dd::bootstrap::DD_bootstrap_ctx::upgraded_server_version_is ( uint  compare_upgraded_server_version) const
inline

Member Data Documentation

◆ m_actual_dd_version

uint dd::bootstrap::DD_bootstrap_ctx::m_actual_dd_version = 0
private

◆ m_actual_I_S_version

uint dd::bootstrap::DD_bootstrap_ctx::m_actual_I_S_version = 0
private

◆ m_did_dd_upgrade_from

uint dd::bootstrap::DD_bootstrap_ctx::m_did_dd_upgrade_from = 0
private

◆ m_did_I_S_upgrade_from

uint dd::bootstrap::DD_bootstrap_ctx::m_did_I_S_upgrade_from = 0
private

◆ m_stage

Stage dd::bootstrap::DD_bootstrap_ctx::m_stage = Stage::NOT_STARTED
private

◆ m_upgraded_server_version

uint dd::bootstrap::DD_bootstrap_ctx::m_upgraded_server_version = 0
private

The documentation for this class was generated from the following files: