mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fix a nondeterminism in perfschema.statement_program_nesting_event_check test
when selecting from perfschema, filter out statements used by the test istself in wait_condition.inc, because they, by design, can be repeated unpredictable number of times.
This commit is contained in:
@ -19,7 +19,7 @@ TRUNCATE TABLE performance_schema.events_statements_history_long;
|
||||
SELECT EVENT_NAME, SQL_TEXT, OBJECT_NAME, NESTING_EVENT_TYPE, NESTING_EVENT_LEVEL
|
||||
FROM performance_schema.events_statements_history_long
|
||||
WHERE CURRENT_SCHEMA='stored_programs' AND
|
||||
(SQL_TEXT not like '%count(*) = 1%' OR SQL_TEXT IS NULL)
|
||||
(SQL_TEXT not like '%count(*) = %' OR SQL_TEXT IS NULL)
|
||||
ORDER BY OBJECT_NAME,NESTING_EVENT_LEVEL,SQL_TEXT;
|
||||
|
||||
TRUNCATE TABLE performance_schema.events_statements_history_long;
|
||||
|
Reference in New Issue
Block a user