Debian Codegraph @

mysql-test/suite/sys_vars/inc/sysvars_server.inc

raw
1 --source include/have_perfschema.inc
2 --source include/have_profiling.inc
3 --source include/word_size.inc
4 --source include/platform.inc
5 --vertical_results
6
7 # need stable timestamp, because its current value is printed below
8 set time_zone='+00:00';
9 set timestamp=unix_timestamp('2014-09-01 13:40:23');
10 # ditto
11 set pseudo_thread_id=10;
12 # to show session != global, and doesn't affect global_value_origin
13 set sql_mode=ansi_quotes;
14 # global_value_origin=SQL
15 set global div_precision_increment=5;
16
17 # Don't show values or origin as they may have been changed by the test
18 # or different recompilation. Remove variables that are depending on
19 # configuration options
20
21 --replace_regex /^\/\S+/PATH/ /102400/10485760/
22 select VARIABLE_NAME,VARIABLE_SCOPE,VARIABLE_TYPE,VARIABLE_COMMENT,NUMERIC_MIN_VALUE,NUMERIC_MAX_VALUE,NUMERIC_BLOCK_SIZE,ENUM_VALUE_LIST,READ_ONLY,COMMAND_LINE_ARGUMENT
23 from information_schema.system_variables
24 where variable_name not like 'debug%' and
25 variable_name not like 'wsrep%' and
26 variable_name not like 's3%' and
27 variable_name not in (
28 'log_tc_size','have_sanitizer','timestamp'
29 )
30 order by variable_name;
31
32 # yet less data: no values, no blocks size, no min/max value.
33 select VARIABLE_NAME, GLOBAL_VALUE_ORIGIN, VARIABLE_SCOPE, VARIABLE_TYPE, VARIABLE_COMMENT, ENUM_VALUE_LIST, READ_ONLY, COMMAND_LINE_ARGUMENT
34 from information_schema.system_variables
35 where variable_name in (
36 'log_tc_size'
37 )
38 order by variable_name;
39
40 set global div_precision_increment=default;