all_vars.result 885 Bytes
Newer Older
1
create table t1 (test_name text);
Marc Alff's avatar
Marc Alff committed
2
create table t2 (variable_name text);
3
load data infile "MYSQLTEST_VARDIR/tmp/sys_vars.all_vars.txt" into table t1;
Marc Alff's avatar
Marc Alff committed
4 5
insert into t2 select variable_name from information_schema.global_variables;
insert into t2 select variable_name from information_schema.session_variables;
6
delete from t2 where variable_name='innodb_change_buffering_debug';
Marc Alff's avatar
Marc Alff committed
7 8 9 10 11 12
update t2 set variable_name= replace(variable_name, "PERFORMANCE_SCHEMA_", "PFS_");
select variable_name as `There should be *no* long test name listed below:` from t2
where length(variable_name) > 50;
There should be *no* long test name listed below:
select variable_name as `There should be *no* variables listed below:` from t2
left join t1 on variable_name=test_name where test_name is null;
13
There should be *no* variables listed below:
14 15
INNODB_LARGE_PREFIX
INNODB_LARGE_PREFIX
16
drop table t1;
Marc Alff's avatar
Marc Alff committed
17
drop table t2;