1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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,19 @@
# Wait till the action of the connection using the DB = 'mysqltest' or
# 'mysqlsupertest' is finished ( Command = 'Sleep').
let $wait_timeout= 10;
let $wait_condition=
SELECT COUNT(*) = 1
FROM performance_schema.threads
WHERE processlist_db IN ('mysqltest','mysqlsupertest')
AND processlist_command = 'Sleep';
--source include/wait_condition.inc
if (!$success)
{
--echo # Error: We did not reach the expected state where processlist_command = 'Sleep'
SELECT * FROM performance_schema.threads
WHERE processlist_db IN ('mysqltest','mysqlsupertest');
--echo # abort
exit;
}