1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Next part of merge. See TODO for details

This commit is contained in:
Michael Widenius
2012-08-14 17:23:34 +03:00
parent b39e6e3d09
commit 60589aeee0
701 changed files with 138276 additions and 2292 deletions

View File

@ -0,0 +1,26 @@
select * from performance_schema.socket_summary_by_instance
limit 1;
select * from performance_schema.socket_summary_by_instance
where object_instance_begin='FOO';
insert into performance_schema.socket_summary_by_instance
set object_instance_begin=1,
count_star=1, sum_timer_wait=2, min_timer_wait=3,
avg_timer_wait=4, max_timer_wait=5;
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
update performance_schema.socket_summary_by_instance
set count_star=12;
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
update performance_schema.socket_summary_by_instance
set count_star=12 where object_instance_begin like "FOO";
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
delete from performance_schema.socket_summary_by_instance
where count_star=1;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
delete from performance_schema.socket_summary_by_instance;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
LOCK TABLES performance_schema.socket_summary_by_instance READ;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
UNLOCK TABLES;
LOCK TABLES performance_schema.socket_summary_by_instance WRITE;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'socket_summary_by_instance'
UNLOCK TABLES;