https://dev.mysql.com/alter-table.html
Modifying the definition of an ENUM or SET column by adding new enumeration or set members to the end of the list of valid member values, as long as the storage size of the data type does not change. Adding members in the middle of the list causes ... ALTER TABLE tbl_name [alter_specification [, alter_specification] ...] [partition_options] alter_specification: table_options | ADD [COLUMN] col_name column_definition [FIRST | AFTER col_name] | ADD [COLUMN] (col_name column_definition,...) | ADD {INDEX|KEY} [index_name] [index_type] (key_part,...) [index_option] ...
https://dev.mysql.com/load-data.html
LOAD DATA regards all input as strings, so you cannot use numeric values for ENUM or SET columns the way you can with INSERT statements. INTO Syntax”.) To write data from a table to a file, use SELECT ... To read the file back into a table, use ...
https://dev.mysql.com/charset-column.html
Every “character” column (that is, a column of type CHAR, VARCHAR, a TEXT type, or any synonym) has a column character set and a column collation. CREATE TABLE t1 ( col1 CHAR(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci ) CHARACTER SET latin1 ...
https://dev.mysql.com/plugin-services.html
mysql/service_my_plugin_log.h defines these levels: enum plugin_log_level { MY_ERROR_LEVEL, MY_WARNING_LEVEL, MY_INFORMATION_LEVEL }; Then invoke my_plugin_log_message(): int my_plugin_log_message(MYSQL_PLUGIN *plugin, enum plugin_log_level level, ... MySQL server plugins have access to server “plugin services.” The plugin services interface exposes server functionality that plugins can ...
https://dev.mysql.com/myisampack.html
table-lookup The column had only a small number of different values, which were converted to an ENUM before Huffman compression. When the table is used later, the server reads into memory the information needed to decompress columns. This results in ...
https://dev.mysql.com/writing-audit-plugins.html
For example, for MYSQL_AUDIT_CONNECTION_CLASS (the class that covers connect and disconnect events), plugin_audit.h defines these symbols: typedef enum { /** occurs after authentication phase is completed. This section describes how to write a ...
https://dev.mysql.com/writing-full-text-plugins.html
The MYSQL_FTPARSER_BOOLEAN_INFO structure that the parser uses for passing token information to the server looks like this: typedef struct st_mysql_ftparser_boolean_info { enum enum_ft_token_type type; int yesno; int weight_adjust; char wasign; char ... MySQL supports server-side full-text parser plugins with MyISAM and ...
https://dev.mysql.com/partitioning-limitations.html
This section discusses current restrictions and limitations on MySQL partitioning support. The following constructs are not permitted in partitioning expressions: Stored procedures, stored functions, UDFs, or plugins. For a list of SQL functions ...
https://dev.mysql.com/constraint-invalid-data.html
Invalid values for ENUM and SET columns are handled as described in Section 1.8.3.4, “ENUM and SET Constraints”. By default, MySQL is forgiving of invalid or improper data values and coerces them to valid values for data entry. However, you can ...
https://dev.mysql.com/mysql-options.html
int mysql_options(MYSQL *mysql, enum mysql_option option, const void *arg) Can be used to set extra connect options and affect behavior for a connection. Specify one of the enum values of mysql_protocol_type defined in mysql.h. These modes are the ...This function may be called multiple times to set several ...