Current Path : /home/usr.opt/mysql57/mysql-test/suite/perfschema/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/perfschema/r/dml_setup_consumers.result |
select * from performance_schema.setup_consumers; NAME ENABLED events_stages_current YES events_stages_history YES events_stages_history_long YES events_statements_current YES events_statements_history YES events_statements_history_long YES events_transactions_current YES events_transactions_history YES events_transactions_history_long YES events_waits_current YES events_waits_history YES events_waits_history_long YES global_instrumentation YES thread_instrumentation YES statements_digest YES select * from performance_schema.setup_consumers where name='events_waits_current'; NAME ENABLED events_waits_current YES select * from performance_schema.setup_consumers where enabled='YES'; NAME ENABLED events_stages_current YES events_stages_history YES events_stages_history_long YES events_statements_current YES events_statements_history YES events_statements_history_long YES events_transactions_current YES events_transactions_history YES events_transactions_history_long YES events_waits_current YES events_waits_history YES events_waits_history_long YES global_instrumentation YES thread_instrumentation YES statements_digest YES select * from performance_schema.setup_consumers where enabled='NO'; NAME ENABLED insert into performance_schema.setup_consumers set name='FOO', enabled='YES'; ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_consumers' update performance_schema.setup_consumers set name='FOO'; ERROR HY000: Invalid performance_schema usage. update performance_schema.setup_consumers set enabled='YES'; delete from performance_schema.setup_consumers; ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_consumers' delete from performance_schema.setup_consumers where name='events_waits_current'; ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_consumers' LOCK TABLES performance_schema.setup_consumers READ; UNLOCK TABLES; LOCK TABLES performance_schema.setup_consumers WRITE; UNLOCK TABLES;