summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/perfschema/r/dml_global_variables.result
blob: 08d15af34d3e624a6fdae293861462edf0a64559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
select * from performance_schema.global_variables
where variable_name like 'autocommit%' limit 1;
select * from performance_schema.global_variables
where variable_name='FOO';
insert into performance_schema.global_variables
set variable_name='FOO', variable_value='BAR';
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'global_variables'
update performance_schema.global_variables
set variable_name='FOO', variable_value='BAR';
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'global_variables'
delete from performance_schema.global_variables
where variable_name <> 'FOO';
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'global_variables'
delete from performance_schema.global_variables;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'global_variables'
LOCK TABLES performance_schema.global_variables READ;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'global_variables'
UNLOCK TABLES;
LOCK TABLES performance_schema.global_variables WRITE;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'global_variables'
UNLOCK TABLES;