mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#55416 Renaming of performance_schema tables for 5.5
Removed table SETUP_OBJECTS. Renamed table PROCESSLIST to THREADS. Renamed table EVENTS_WAITS_SUMMARY_BY_EVENT_NAME to EVENTS_WAITS_SUMMARY_GLOBAL_BY_EVENT_NAME. Adjusted Makefiles, code and tests accordingly.
This commit is contained in:
27
mysql-test/suite/perfschema/r/dml_threads.result
Normal file
27
mysql-test/suite/perfschema/r/dml_threads.result
Normal file
@ -0,0 +1,27 @@
|
||||
select * from performance_schema.THREADS
|
||||
where name like 'Thread/%' limit 1;
|
||||
THREAD_ID ID NAME
|
||||
# # #
|
||||
select * from performance_schema.THREADS
|
||||
where name='FOO';
|
||||
THREAD_ID ID NAME
|
||||
insert into performance_schema.THREADS
|
||||
set name='FOO', thread_id=1, id=2;
|
||||
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'THREADS'
|
||||
update performance_schema.THREADS
|
||||
set thread_id=12;
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'THREADS'
|
||||
update performance_schema.THREADS
|
||||
set thread_id=12 where name like "FOO";
|
||||
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'THREADS'
|
||||
delete from performance_schema.THREADS
|
||||
where id=1;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'THREADS'
|
||||
delete from performance_schema.THREADS;
|
||||
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'THREADS'
|
||||
LOCK TABLES performance_schema.THREADS READ;
|
||||
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'THREADS'
|
||||
UNLOCK TABLES;
|
||||
LOCK TABLES performance_schema.THREADS WRITE;
|
||||
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'THREADS'
|
||||
UNLOCK TABLES;
|
Reference in New Issue
Block a user