MySQL  8.0.27
Source Code Documentation
status_var.h File Reference

Go to the source code of this file.

Classes

struct  SHOW_VAR
 SHOW STATUS Server status variable. More...
 

Macros

#define SHOW_VAR_MAX_NAME_LEN   64
 
#define SHOW_VAR_FUNC_BUFF_SIZE   1024
 
#define MYSQL_THD   THD *
 

Typedefs

typedef int(* mysql_show_var_func) (MYSQL_THD, SHOW_VAR *, char *)
 

Enumerations

enum  enum_mysql_show_type {
  SHOW_UNDEF , SHOW_BOOL , SHOW_INT , SHOW_LONG ,
  SHOW_LONGLONG , SHOW_CHAR , SHOW_CHAR_PTR , SHOW_ARRAY ,
  SHOW_FUNC , SHOW_DOUBLE , SHOW_KEY_CACHE_LONG , SHOW_KEY_CACHE_LONGLONG ,
  SHOW_LONG_STATUS , SHOW_DOUBLE_STATUS , SHOW_HAVE , SHOW_MY_BOOL ,
  SHOW_HA_ROWS , SHOW_SYS , SHOW_LONG_NOFLUSH , SHOW_LONGLONG_STATUS ,
  SHOW_LEX_STRING , SHOW_SIGNED_INT , SHOW_SIGNED_LONG , SHOW_SIGNED_LONGLONG
}
 Declarations for SHOW STATUS support in plugins. More...
 
enum  enum_mysql_show_scope { SHOW_SCOPE_UNDEF , SHOW_SCOPE_GLOBAL , SHOW_SCOPE_SESSION , SHOW_SCOPE_ALL }
 Status variable scope. More...
 

Macro Definition Documentation

◆ MYSQL_THD

#define MYSQL_THD   THD *

◆ SHOW_VAR_FUNC_BUFF_SIZE

#define SHOW_VAR_FUNC_BUFF_SIZE   1024

◆ SHOW_VAR_MAX_NAME_LEN

#define SHOW_VAR_MAX_NAME_LEN   64

Typedef Documentation

◆ mysql_show_var_func

typedef int(* mysql_show_var_func) (MYSQL_THD, SHOW_VAR *, char *)

Enumeration Type Documentation

◆ enum_mysql_show_scope

Status variable scope.

Only GLOBAL status variable scope is available in plugins.

Enumerator
SHOW_SCOPE_UNDEF 
SHOW_SCOPE_GLOBAL 
SHOW_SCOPE_SESSION 
SHOW_SCOPE_ALL 

◆ enum_mysql_show_type

Declarations for SHOW STATUS support in plugins.

Enumerator
SHOW_UNDEF 
SHOW_BOOL 
SHOW_INT 

shown as unsigned int

SHOW_LONG 

shown as unsigned long

SHOW_LONGLONG 

shown as unsigned longlong

SHOW_CHAR 
SHOW_CHAR_PTR 
SHOW_ARRAY 
SHOW_FUNC 
SHOW_DOUBLE 
SHOW_KEY_CACHE_LONG 
SHOW_KEY_CACHE_LONGLONG 
SHOW_LONG_STATUS 
SHOW_DOUBLE_STATUS 
SHOW_HAVE 
SHOW_MY_BOOL 
SHOW_HA_ROWS 
SHOW_SYS 
SHOW_LONG_NOFLUSH 
SHOW_LONGLONG_STATUS 
SHOW_LEX_STRING 
SHOW_SIGNED_INT 
SHOW_SIGNED_LONG 
SHOW_SIGNED_LONGLONG