MySQL 8.0.39
Source Code Documentation
Host_errors Struct Reference

#include <hostname_cache.h>

Public Member Functions

 Host_errors ()
 
 ~Host_errors ()
 
void reset ()
 
void aggregate (const Host_errors *errors)
 
bool has_error () const
 
void sum_connect_errors ()
 
void clear_connect_errors ()
 

Public Attributes

ulong m_connect
 Number of connect errors. More...
 
ulong m_host_blocked
 Number of host blocked errors. More...
 
ulong m_nameinfo_transient
 Number of transient errors from getnameinfo(). More...
 
ulong m_nameinfo_permanent
 Number of permanent errors from getnameinfo(). More...
 
ulong m_format
 Number of errors from is_hostname_valid(). More...
 
ulong m_addrinfo_transient
 Number of transient errors from getaddrinfo(). More...
 
ulong m_addrinfo_permanent
 Number of permanent errors from getaddrinfo(). More...
 
ulong m_FCrDNS
 Number of errors from Forward-Confirmed reverse DNS checks. More...
 
ulong m_host_acl
 Number of errors from host grants. More...
 
ulong m_no_auth_plugin
 Number of errors from missing auth plugin. More...
 
ulong m_auth_plugin
 Number of errors from auth plugin. More...
 
ulong m_handshake
 Number of errors from authentication plugins. More...
 
ulong m_proxy_user
 Number of errors from proxy user. More...
 
ulong m_proxy_user_acl
 Number of errors from proxy user acl. More...
 
ulong m_authentication
 Number of errors from authentication. More...
 
ulong m_ssl
 Number of errors from ssl. More...
 
ulong m_max_user_connection
 Number of errors from max user connection. More...
 
ulong m_max_user_connection_per_hour
 Number of errors from max user connection per hour. More...
 
ulong m_default_database
 Number of errors from the default database. More...
 
ulong m_init_connect
 Number of errors from init_connect. More...
 
ulong m_local
 Number of errors from the server itself. More...
 

Constructor & Destructor Documentation

◆ Host_errors()

Host_errors::Host_errors ( )

◆ ~Host_errors()

Host_errors::~Host_errors ( )
default

Member Function Documentation

◆ aggregate()

void Host_errors::aggregate ( const Host_errors errors)

◆ clear_connect_errors()

void Host_errors::clear_connect_errors ( )
inline

◆ has_error()

bool Host_errors::has_error ( ) const
inline

◆ reset()

void Host_errors::reset ( void  )

◆ sum_connect_errors()

void Host_errors::sum_connect_errors ( )
inline

Member Data Documentation

◆ m_addrinfo_permanent

ulong Host_errors::m_addrinfo_permanent

Number of permanent errors from getaddrinfo().

◆ m_addrinfo_transient

ulong Host_errors::m_addrinfo_transient

Number of transient errors from getaddrinfo().

◆ m_auth_plugin

ulong Host_errors::m_auth_plugin

Number of errors from auth plugin.

◆ m_authentication

ulong Host_errors::m_authentication

Number of errors from authentication.

◆ m_connect

ulong Host_errors::m_connect

Number of connect errors.

◆ m_default_database

ulong Host_errors::m_default_database

Number of errors from the default database.

◆ m_FCrDNS

ulong Host_errors::m_FCrDNS

Number of errors from Forward-Confirmed reverse DNS checks.

◆ m_format

ulong Host_errors::m_format

Number of errors from is_hostname_valid().

◆ m_handshake

ulong Host_errors::m_handshake

Number of errors from authentication plugins.

◆ m_host_acl

ulong Host_errors::m_host_acl

Number of errors from host grants.

◆ m_host_blocked

ulong Host_errors::m_host_blocked

Number of host blocked errors.

◆ m_init_connect

ulong Host_errors::m_init_connect

Number of errors from init_connect.

◆ m_local

ulong Host_errors::m_local

Number of errors from the server itself.

◆ m_max_user_connection

ulong Host_errors::m_max_user_connection

Number of errors from max user connection.

◆ m_max_user_connection_per_hour

ulong Host_errors::m_max_user_connection_per_hour

Number of errors from max user connection per hour.

◆ m_nameinfo_permanent

ulong Host_errors::m_nameinfo_permanent

Number of permanent errors from getnameinfo().

◆ m_nameinfo_transient

ulong Host_errors::m_nameinfo_transient

Number of transient errors from getnameinfo().

◆ m_no_auth_plugin

ulong Host_errors::m_no_auth_plugin

Number of errors from missing auth plugin.

◆ m_proxy_user

ulong Host_errors::m_proxy_user

Number of errors from proxy user.

◆ m_proxy_user_acl

ulong Host_errors::m_proxy_user_acl

Number of errors from proxy user acl.

◆ m_ssl

ulong Host_errors::m_ssl

Number of errors from ssl.


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