![]() |
MySQL 8.0.43
Source Code Documentation
|
Legacy struct for passing tablespace information to SEs. More...
#include <handler.h>
Public Member Functions | |
| bool | is_tablespace_command () |
| st_alter_tablespace (const char *tablespace, const char *logfile_group, ts_command_type cmd, enum ts_alter_tablespace_type alter_tablespace_cmd, const char *datafile, const char *undofile, const Tablespace_options &opts) | |
| Proper constructor even for all-public class simplifies initialization and allows members to be const. More... | |
Public Attributes | |
| const char * | tablespace_name = nullptr |
| const char * | logfile_group_name = nullptr |
| ts_command_type | ts_cmd_type = TS_CMD_NOT_DEFINED |
| enum ts_alter_tablespace_type | ts_alter_tablespace_type |
| const char * | data_file_name = nullptr |
| const char * | undo_file_name = nullptr |
| ulonglong | extent_size = 1024 * 1024 |
| ulonglong | undo_buffer_size = 8 * 1024 * 1024 |
| ulonglong | redo_buffer_size = 8 * 1024 * 1024 |
| ulonglong | initial_size = 128 * 1024 * 1024 |
| std::optional< ulonglong > | autoextend_size |
| ulonglong | max_size = 0 |
| ulonglong | file_block_size = 0 |
| uint | nodegroup_id = UNDEF_NODEGROUP |
| bool | wait_until_completed = true |
| const char * | ts_comment = nullptr |
| const char * | encryption = nullptr |
Legacy struct for passing tablespace information to SEs.
FUTURE: Pass all info through dd objects
| st_alter_tablespace::st_alter_tablespace | ( | const char * | tablespace, |
| const char * | logfile_group, | ||
| ts_command_type | cmd, | ||
| enum ts_alter_tablespace_type | alter_tablespace_cmd, | ||
| const char * | datafile, | ||
| const char * | undofile, | ||
| const Tablespace_options & | opts | ||
| ) |
Proper constructor even for all-public class simplifies initialization and allows members to be const.
FUTURE: With constructor all members can be made const, and do not need default initializers.
| tablespace | name of tabelspace (nullptr for logfile group statements) |
| logfile_group | name of logfile group or nullptr |
| cmd | main statement type |
| alter_tablespace_cmd | subcommand type for ALTER TABLESPACE |
| datafile | tablespace file for CREATE and ALTER ... ADD ... |
| undofile | only applies to logfile group statements. nullptr otherwise. |
| opts | options provided by parser |
|
inline |
| std::optional<ulonglong> st_alter_tablespace::autoextend_size |
| const char* st_alter_tablespace::data_file_name = nullptr |
| const char* st_alter_tablespace::encryption = nullptr |
| ulonglong st_alter_tablespace::extent_size = 1024 * 1024 |
| ulonglong st_alter_tablespace::file_block_size = 0 |
| ulonglong st_alter_tablespace::initial_size = 128 * 1024 * 1024 |
| const char* st_alter_tablespace::logfile_group_name = nullptr |
| ulonglong st_alter_tablespace::max_size = 0 |
| uint st_alter_tablespace::nodegroup_id = UNDEF_NODEGROUP |
| ulonglong st_alter_tablespace::redo_buffer_size = 8 * 1024 * 1024 |
| const char* st_alter_tablespace::tablespace_name = nullptr |
| enum ts_alter_tablespace_type st_alter_tablespace::ts_alter_tablespace_type |
| ts_command_type st_alter_tablespace::ts_cmd_type = TS_CMD_NOT_DEFINED |
| const char* st_alter_tablespace::ts_comment = nullptr |
| ulonglong st_alter_tablespace::undo_buffer_size = 8 * 1024 * 1024 |
| const char* st_alter_tablespace::undo_file_name = nullptr |
| bool st_alter_tablespace::wait_until_completed = true |