mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fix a nondeterminism in perfschema.statement_program_non_nested 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:
@ -23,7 +23,7 @@ SELECT EVENT_NAME, SQL_TEXT, CURRENT_SCHEMA, OBJECT_TYPE, OBJECT_SCHEMA,
|
||||
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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user