mirror of
https://github.com/MariaDB/server.git
synced 2025-02-12 00:15:35 +01:00
![Sergei Golubchik](/assets/img/avatar_default.png)
* use new deprecated printer for all deprecated server options * restore alphabetic option sorting order * move deprecated printer from mysqld.cc to my_getopt.c * in --help print deprecation message at the end of the option help * move 'ALL' help text where it belongs - to other SET options, and with a correct indentation. * consistently end all or none command-line option help strings with a dot - my_print_help() needs that. It's about 50/50 now, so let's do none, less line wraps in --help * remove trailing spaces from command-line option help strings
20 lines
769 B
Text
20 lines
769 B
Text
SELECT @@version;
|
|
@@version
|
|
my_favorite_version
|
|
1
|
|
select * from information_schema.system_variables where variable_name='version';
|
|
VARIABLE_NAME VERSION
|
|
SESSION_VALUE NULL
|
|
GLOBAL_VALUE my_favorite_version
|
|
GLOBAL_VALUE_ORIGIN COMMAND-LINE
|
|
DEFAULT_VALUE NULL
|
|
VARIABLE_SCOPE GLOBAL
|
|
VARIABLE_TYPE VARCHAR
|
|
VARIABLE_COMMENT Server version number. It may also include a suffix with configuration or build information. -debug indicates debugging support was enabled on the server, and -log indicates at least one of the binary log, general log or slow query log are enabled, for example 10.1.1-MariaDB-mariadb1precise-log
|
|
NUMERIC_MIN_VALUE NULL
|
|
NUMERIC_MAX_VALUE NULL
|
|
NUMERIC_BLOCK_SIZE NULL
|
|
ENUM_VALUE_LIST NULL
|
|
READ_ONLY YES
|
|
COMMAND_LINE_ARGUMENT NULL
|
|
GLOBAL_VALUE_PATH NULL
|