mirror of
https://github.com/MariaDB/server.git
synced 2025-07-21 21:22:27 +03:00
events in perfschema tests: use ON COMPLETION NOT PRESERVE
when the execution is very slow, under valgrind, the event might manage to fire more than once, making the test to fail
This commit is contained in:
@ -32,7 +32,7 @@ SET GLOBAL event_scheduler=ON;
|
||||
|
||||
CREATE TABLE table_t(a INT);
|
||||
DELIMITER |;
|
||||
CREATE EVENT e1 ON SCHEDULE EVERY 2 SECOND DO
|
||||
CREATE EVENT e1 ON SCHEDULE EVERY 2 SECOND ON COMPLETION NOT PRESERVE DO
|
||||
BEGIN
|
||||
INSERT INTO table_t VALUES(1);
|
||||
END|
|
||||
|
Reference in New Issue
Block a user