MySQL 9.1.0
Source Code Documentation
Get_system_variable_parameters Class Reference

#include <get_system_variable.h>

Inheritance diagram for Get_system_variable_parameters:
[legend]

Public Types

enum  System_variable_service { VAR_GTID_EXECUTED , VAR_GTID_PURGED , VAR_READ_ONLY , VAR_SUPER_READ_ONLY }
 

Public Member Functions

 Get_system_variable_parameters (System_variable_service service)
 
virtual ~Get_system_variable_parameters ()
 
int get_error ()
 Get value for class private member error. More...
 
void set_error (int error)
 Set value for class private member error. More...
 
Get_system_variable_parameters::System_variable_service get_service ()
 Set value for class private member service. More...
 
- Public Member Functions inherited from Mysql_thread_body_parameters
void * operator new (size_t size, const std::nothrow_t &) noexcept
 
void operator delete (void *ptr, const std::nothrow_t &) noexcept
 
void * operator new (size_t size) noexcept
 Allocate memory on the heap with instrumented memory allocation, so that memory consumption can be tracked. More...
 
void operator delete (void *ptr) noexcept
 Deallocate memory on the heap with instrumented memory allocation, so that memory consumption can be tracked. More...
 
 Mysql_thread_body_parameters ()
 
virtual ~Mysql_thread_body_parameters ()
 

Public Attributes

std::string m_result {""}
 

Private Attributes

System_variable_service m_service {System_variable_service::VAR_GTID_EXECUTED}
 
int m_error {1}
 

Member Enumeration Documentation

◆ System_variable_service

Enumerator
VAR_GTID_EXECUTED 
VAR_GTID_PURGED 
VAR_READ_ONLY 
VAR_SUPER_READ_ONLY 

Constructor & Destructor Documentation

◆ Get_system_variable_parameters()

Get_system_variable_parameters::Get_system_variable_parameters ( System_variable_service  service)
inline

◆ ~Get_system_variable_parameters()

virtual Get_system_variable_parameters::~Get_system_variable_parameters ( )
inlinevirtual

Member Function Documentation

◆ get_error()

int Get_system_variable_parameters::get_error ( )

Get value for class private member error.

Returns
the error value returned
Return values
0OK
!=0Error

◆ get_service()

Get_system_variable_parameters::System_variable_service Get_system_variable_parameters::get_service ( )

Set value for class private member service.

Returns
System defined to run

◆ set_error()

void Get_system_variable_parameters::set_error ( int  error)

Set value for class private member error.

Parameters
[in]errorSet value of error

Member Data Documentation

◆ m_error

int Get_system_variable_parameters::m_error {1}
private

◆ m_result

std::string Get_system_variable_parameters::m_result {""}

◆ m_service

System_variable_service Get_system_variable_parameters::m_service {System_variable_service::VAR_GTID_EXECUTED}
private

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