summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/show_vs_valstr.result
blob: fd59ac1f9460fba8aaf2b1560890bcf791267add (plain)
1
2
3
4
5
6
7
8
9
10
use information_schema;
select variable_name, s.variable_value, v.global_value
from global_variables s join system_variables v using (variable_name)
where not (s.variable_value <=> v.global_value);
variable_name	variable_value	global_value
select variable_name, s.variable_value, v.session_value
from session_variables s join system_variables v using (variable_name)
where v.variable_scope != 'GLOBAL' and
not (s.variable_value <=> v.session_value);
variable_name	variable_value	session_value