mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
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
This commit is contained in:
parent
5e3c948cc9
commit
fce80b6ae1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue