Bug#13417440 : 63340: ARCHIVE FILE IO NOT INSTRUMENTED

Details:
 - Modified test case to make sure its run for all and not only
   for archive Storage Engine.
This commit is contained in:
Mayank Prasad 2012-07-03 09:55:51 +05:30
parent 196623b839
commit 9f4f06996b
2 changed files with 8 additions and 9 deletions

View file

@ -36,9 +36,9 @@ Qcache_hits 1
select spins from performance_schema.events_waits_current order by event_name limit 1;
spins
NULL
select name from performance_schema.setup_instruments order by name limit 1;
name
wait/io/file/archive/data
select * from performance_schema.setup_timers where name='wait';
NAME TIMER_NAME
wait CYCLE
show status like "Qcache_queries_in_cache";
Variable_name Value
Qcache_queries_in_cache 1
@ -51,9 +51,9 @@ Qcache_hits 1
select spins from performance_schema.events_waits_current order by event_name limit 1;
spins
NULL
select name from performance_schema.setup_instruments order by name limit 1;
name
wait/io/file/archive/data
select * from performance_schema.setup_timers where name='wait';
NAME TIMER_NAME
wait CYCLE
show status like "Qcache_queries_in_cache";
Variable_name Value
Qcache_queries_in_cache 1

View file

@ -6,7 +6,6 @@
--source include/have_query_cache.inc
--source include/not_embedded.inc
--source include/have_perfschema.inc
--source include/have_archive.inc
--disable_warnings
drop table if exists t1;
@ -35,7 +34,7 @@ show status like "Qcache_hits";
select spins from performance_schema.events_waits_current order by event_name limit 1;
select name from performance_schema.setup_instruments order by name limit 1;
select * from performance_schema.setup_timers where name='wait';
show status like "Qcache_queries_in_cache";
show status like "Qcache_inserts";
@ -43,7 +42,7 @@ show status like "Qcache_hits";
select spins from performance_schema.events_waits_current order by event_name limit 1;
select name from performance_schema.setup_instruments order by name limit 1;
select * from performance_schema.setup_timers where name='wait';
show status like "Qcache_queries_in_cache";
show status like "Qcache_inserts";