mariadb/mysql-test/suite/perfschema/r/dml_global_variables.result
Sergei Golubchik 0ea717f51a P_S 5.7.28
2020-03-10 19:24:22 +01:00

21 lines
1.2 KiB
Text

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;