MySQL 8.0.39
Source Code Documentation

Statistics for all server errors. More...

#include <pfs_stat.h>

Public Member Functions

 PFS_error_stat ()
 
const PFS_error_single_statget_stat (uint error_index) const
 
ulonglong count () const
 
ulonglong count (uint error_index) const
 
void init (PFS_builtin_memory_class *memory_class, size_t max_errors)
 
void cleanup (PFS_builtin_memory_class *memory_class)
 
void reset ()
 
void aggregate_count (int error_index, int error_operation)
 
void aggregate (const PFS_error_single_stat *stat, uint error_index)
 
void aggregate (const PFS_error_stat *stat)
 

Public Attributes

size_t m_max_errors
 The number of errors, including +1 for the NULL row. More...
 
PFS_error_single_statm_stat
 

Detailed Description

Statistics for all server errors.

Constructor & Destructor Documentation

◆ PFS_error_stat()

PFS_error_stat::PFS_error_stat ( )
inline

Member Function Documentation

◆ aggregate() [1/2]

void PFS_error_stat::aggregate ( const PFS_error_single_stat stat,
uint  error_index 
)
inline

◆ aggregate() [2/2]

void PFS_error_stat::aggregate ( const PFS_error_stat stat)
inline

◆ aggregate_count()

void PFS_error_stat::aggregate_count ( int  error_index,
int  error_operation 
)
inline

◆ cleanup()

void PFS_error_stat::cleanup ( PFS_builtin_memory_class memory_class)
inline

◆ count() [1/2]

ulonglong PFS_error_stat::count ( ) const
inline

◆ count() [2/2]

ulonglong PFS_error_stat::count ( uint  error_index) const
inline

◆ get_stat()

const PFS_error_single_stat * PFS_error_stat::get_stat ( uint  error_index) const
inline

◆ init()

void PFS_error_stat::init ( PFS_builtin_memory_class memory_class,
size_t  max_errors 
)
inline

◆ reset()

void PFS_error_stat::reset ( void  )
inline

Member Data Documentation

◆ m_max_errors

size_t PFS_error_stat::m_max_errors

The number of errors, including +1 for the NULL row.

◆ m_stat

PFS_error_single_stat* PFS_error_stat::m_stat

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