1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-4710 Merge Performance Schema test cases from MySQL 5.6.10

Merged all perfschema tests, except for the following:
perfschema.part_table_io
perfschema.binlog_mix perfschema.binlog_row perfschema.binlog_stmt
perfschema.statement_digest_consumers perfschema.statement_digest
privilege.inc privilege.result
This commit is contained in:
unknown
2013-07-10 15:30:17 +03:00
parent e06cc1adce
commit 7ac5a1d362
52 changed files with 726 additions and 192 deletions

View File

@@ -80,6 +80,12 @@ echo "================== con1 marker ==================";
--connection default
# Wait for the payload to complete
let $wait_condition=
select count(*) = 1 from performance_schema.events_waits_current
where EVENT_NAME= 'idle';
--source include/wait_condition.inc
echo "================== Step 3 ==================";
call dump_thread();
execute dump_waits_account;
@@ -148,6 +154,12 @@ echo "================== con2 marker ==================";
--connection default
# Wait for the payload to complete
let $wait_condition=
select count(*) = 2 from performance_schema.events_waits_current
where EVENT_NAME= 'idle';
--source include/wait_condition.inc
echo "================== Step 5 ==================";
call dump_thread();
execute dump_waits_account;
@@ -212,6 +224,12 @@ echo "================== con3 marker ==================";
--connection default
# Wait for the payload to complete
let $wait_condition=
select count(*) = 3 from performance_schema.events_waits_current
where EVENT_NAME= 'idle';
--source include/wait_condition.inc
echo "================== Step 7 ==================";
call dump_thread();
execute dump_waits_account;
@@ -276,6 +294,12 @@ echo "================== con4 marker ==================";
--connection default
# Wait for the payload to complete
let $wait_condition=
select count(*) = 4 from performance_schema.events_waits_current
where EVENT_NAME= 'idle';
--source include/wait_condition.inc
echo "================== Step 9 ==================";
call dump_thread();
execute dump_waits_account;