MySQL 9.0.0
Source Code Documentation

#include <table_helper.h>

Public Member Functions

int make_row (const Status_variable *var)
 Set the row from a status variable. More...
 
int make_row (const System_variable *var)
 Set the row from a system variable. More...
 
void set_field (Field *f)
 Set a table field from the row. More...
 
const char * get_str () const
 
uint get_length () const
 

Private Member Functions

int make_row (const CHARSET_INFO *cs, const char *str, size_t length)
 

Private Attributes

char m_str [1024]
 
uint m_length {0}
 
const CHARSET_INFOm_charset {nullptr}
 

Member Function Documentation

◆ get_length()

uint PFS_variable_value_row::get_length ( ) const
inline

◆ get_str()

const char * PFS_variable_value_row::get_str ( ) const
inline

◆ make_row() [1/3]

int PFS_variable_value_row::make_row ( const CHARSET_INFO cs,
const char *  str,
size_t  length 
)
private

◆ make_row() [2/3]

int PFS_variable_value_row::make_row ( const Status_variable var)

Set the row from a status variable.

◆ make_row() [3/3]

int PFS_variable_value_row::make_row ( const System_variable var)

Set the row from a system variable.

◆ set_field()

void PFS_variable_value_row::set_field ( Field f)

Set a table field from the row.

Member Data Documentation

◆ m_charset

const CHARSET_INFO* PFS_variable_value_row::m_charset {nullptr}
private

◆ m_length

uint PFS_variable_value_row::m_length {0}
private

◆ m_str

char PFS_variable_value_row::m_str[1024]
private

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