salix/db/routines/util/events/slowLog_prune.sql

9 lines
220 B
MySQL
Raw Permalink Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` EVENT `util`.`slowLog_prune`
ON SCHEDULE EVERY 1 DAY
STARTS '2021-10-08 00:00:00.000'
ON COMPLETION PRESERVE
ENABLE
DO CALL util.slowLog_prune$$
DELIMITER ;