DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `cache`.`cache_clean`() NO SQL BEGIN CALL available_clean; CALL visible_clean; END$$ DELIMITER ;