Commit fce80b6a authored by Sergei Golubchik's avatar Sergei Golubchik

sporadic failures of perfschema.statement_program_concurrency

wait until all three concurrent statements are truly completely
finished before quering P_S.

In particular "Logging slow query" stage happens after sending the
OK packet but before the statement appears in events_statements_history
parent 5e3c948c
......@@ -91,7 +91,9 @@ connection con3;
--reap;
connection default;
--source include/wait_until_connected_again.inc
--let $wait_condition=select count(*)=3 from information_schema.processlist where command='sleep';
--source include/wait_condition.inc
SELECT OBJECT_TYPE, OBJECT_SCHEMA, OBJECT_NAME, COUNT_STAR, COUNT_STATEMENTS
FROM performance_schema.events_statements_summary_by_program
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment