1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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

@ -186,10 +186,45 @@ call dump_all();
--connection default
--disconnect con4a
# Wait for the disconnect to complete
let $wait_condition=
select count(*) = 5 from performance_schema.threads
where `TYPE`='FOREGROUND' and PROCESSLIST_USER like 'user%';
--source include/wait_condition.inc
--disconnect con4b
# Wait for the disconnect to complete
let $wait_condition=
select count(*) = 4 from performance_schema.threads
where `TYPE`='FOREGROUND' and PROCESSLIST_USER like 'user%';
--source include/wait_condition.inc
--disconnect con4c
# Wait for the disconnect to complete
let $wait_condition=
select count(*) = 3 from performance_schema.threads
where `TYPE`='FOREGROUND' and PROCESSLIST_USER like 'user%';
--source include/wait_condition.inc
--disconnect con5a
# Wait for the disconnect to complete
let $wait_condition=
select count(*) = 2 from performance_schema.threads
where `TYPE`='FOREGROUND' and PROCESSLIST_USER like 'user%';
--source include/wait_condition.inc
--disconnect con5b
# Wait for the disconnect to complete
let $wait_condition=
select count(*) = 1 from performance_schema.threads
where `TYPE`='FOREGROUND' and PROCESSLIST_USER like 'user%';
--source include/wait_condition.inc
--disconnect con5c
# Wait for the disconnect to complete