mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
89a0364fc8
--version=value was setting sys_var::CONFIG (meaning, the value came from the config file), but the filename was left as NULL.
20 lines
770 B
Text
20 lines
770 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
|