MySQL 9.0.0
Source Code Documentation
sql_admin.h File Reference
#include <assert.h>
#include <stddef.h>
#include <set>
#include "lex_string.h"
#include "my_sqlcommand.h"
#include "sql/histograms/histogram.h"
#include "sql/mem_root_allocator.h"
#include "sql/sql_cmd.h"
#include "sql/sql_cmd_dcl.h"
#include "sql/sql_cmd_ddl_table.h"
#include "sql/sql_plugin_ref.h"

Go to the source code of this file.

Classes

struct  Column_name_comparator
 
class  Sql_cmd_analyze_table
 Sql_cmd_analyze_table represents the ANALYZE TABLE statement. More...
 
class  Sql_cmd_check_table
 Sql_cmd_check_table represents the CHECK TABLE statement. More...
 
class  Sql_cmd_optimize_table
 Sql_cmd_optimize_table represents the OPTIMIZE TABLE statement. More...
 
class  Sql_cmd_repair_table
 Sql_cmd_repair_table represents the REPAIR TABLE statement. More...
 
class  Sql_cmd_shutdown
 Sql_cmd_shutdown represents the SHUTDOWN statement. More...
 
class  Sql_cmd_set_role
 Sql_cmd_set_role represents the SET ROLE ... statement. More...
 
class  Sql_cmd_create_role
 Sql_cmd_create_role represents the CREATE ROLE ... statement. More...
 
class  Sql_cmd_drop_role
 Sql_cmd_drop_role represents the DROP ROLE ... statement. More...
 
class  Sql_cmd_grant_roles
 Sql_cmd_grant_roles represents the GRANT role-list TO ... statement. More...
 
class  Sql_cmd_revoke_roles
 Sql_cmd_revoke_roles represents the REVOKE [role list] TO ... statement. More...
 
class  Sql_cmd_alter_user_default_role
 Sql_cmd_alter_user_default_role ALTER USER ... DEFAULT ROLE ... statement. More...
 
class  Sql_cmd_alter_instance
 
class  Sql_cmd_clone
 Sql_cmd_clone implements CLONE ... statement. More...
 

Macros

#define SQL_ADMIN_MSG_TEXT_SIZE   128 * 1024
 

Enumerations

enum class  role_enum { ROLE_NONE , ROLE_DEFAULT , ROLE_ALL , ROLE_NAME }
 
enum  alter_instance_action_enum {
  ROTATE_INNODB_MASTER_KEY , ALTER_INSTANCE_RELOAD_TLS , ALTER_INSTANCE_RELOAD_TLS_ROLLBACK_ON_ERROR , ROTATE_BINLOG_MASTER_KEY ,
  ALTER_INSTANCE_ENABLE_INNODB_REDO , ALTER_INSTANCE_DISABLE_INNODB_REDO , RELOAD_KEYRING , LAST_ACTION
}
 

Macro Definition Documentation

◆ SQL_ADMIN_MSG_TEXT_SIZE

#define SQL_ADMIN_MSG_TEXT_SIZE   128 * 1024

Enumeration Type Documentation

◆ alter_instance_action_enum

Enumerator
ROTATE_INNODB_MASTER_KEY 
ALTER_INSTANCE_RELOAD_TLS 
ALTER_INSTANCE_RELOAD_TLS_ROLLBACK_ON_ERROR 
ROTATE_BINLOG_MASTER_KEY 
ALTER_INSTANCE_ENABLE_INNODB_REDO 
ALTER_INSTANCE_DISABLE_INNODB_REDO 
RELOAD_KEYRING 
LAST_ACTION 

◆ role_enum

enum class role_enum
strong
Enumerator
ROLE_NONE 
ROLE_DEFAULT 
ROLE_ALL 
ROLE_NAME