summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/sys_vars/r/version.result
blob: 5dafd8e0d931ea1cb0f960c2f5ceec905a0d9fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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