mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03: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:
@ -91,7 +91,9 @@ connection con3;
|
|||||||
--reap;
|
--reap;
|
||||||
|
|
||||||
connection default;
|
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
|
SELECT OBJECT_TYPE, OBJECT_SCHEMA, OBJECT_NAME, COUNT_STAR, COUNT_STATEMENTS
|
||||||
FROM performance_schema.events_statements_summary_by_program
|
FROM performance_schema.events_statements_summary_by_program
|
||||||
|
Reference in New Issue
Block a user