![]() |
MySQL 8.0.43
Source Code Documentation
|
#include <sys/types.h>#include <optional>#include "lex_string.h"#include "my_inttypes.h"#include "my_sqlcommand.h"#include "sql/handler.h"#include "sql/sql_cmd.h"Go to the source code of this file.
Classes | |
| struct | Tablespace_options |
| Structure used by parser to store options for tablespace statements and pass them on to Execution classes. More... | |
| class | Sql_cmd_tablespace |
| Base class for tablespace execution classes including CREATE/ALTER/DROP TABLESPACE and LOGFILE GROUP commands. More... | |
| class | Sql_cmd_create_tablespace |
| Execution class for CREATE TABLESPACE ... ADD DATAFILE ... More... | |
| class | Sql_cmd_drop_tablespace |
| Execution class for DROP TABLESPACE ... More... | |
| class | Sql_cmd_alter_tablespace |
| Execution class for ALTER TABLESPACE ... tablespace_options. More... | |
| class | Sql_cmd_alter_tablespace_add_datafile |
| Execution class for ALTER TABLESPACE ... ADD DATAFILE ... More... | |
| class | Sql_cmd_alter_tablespace_drop_datafile |
| Execution class for ALTER TABLESPACE ... DROP DATAFILE ... More... | |
| class | Sql_cmd_alter_tablespace_rename |
| Execution class for ALTER TABLESPACE ... RENAME TO ... More... | |
| class | Sql_cmd_create_undo_tablespace |
| Execution class for CREATE UNDO TABLESPACE. More... | |
| class | Sql_cmd_alter_undo_tablespace |
| Execution class for ALTER UNDO TABLESPACE. More... | |
| class | Sql_cmd_drop_undo_tablespace |
| Execution class for DROP UNDO TABLESPACE. More... | |
| class | Sql_cmd_logfile_group |
| Execution class for CREATE/DROP/ALTER LOGFILE GROUP ... More... | |
Functions | |
| bool | validate_tablespace_name_length (const char *tablespace_name) |
| Check if tablespace name has valid length. More... | |
| bool | validate_tablespace_name (ts_command_type ts_cmd, const char *tablespace_name, const handlerton *engine) |
| Check if a tablespace name is valid. More... | |
| bool validate_tablespace_name | ( | ts_command_type | ts_cmd, |
| const char * | tablespace_name, | ||
| const handlerton * | engine | ||
| ) |
Check if a tablespace name is valid.
SE specific validation is done by the SE by invoking a handlerton method.
| ts_cmd | Whether this is tablespace DDL or not. |
| tablespace_name | Name of the tablespace |
| engine | Handlerton for the tablespace. |
| false | No error encountered while checking the name. |
| true | Error encountered and reported. |
| bool validate_tablespace_name_length | ( | const char * | tablespace_name | ) |
Check if tablespace name has valid length.
| tablespace_name | Name of the tablespace |
| false | No error encountered while checking length. |
| true | Error encountered and reported. |