DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `srt`.`restart`()
BEGIN
	
	/*
	 * Se ha pulsado el botón RESTART en la pantalla tàctil del sorter
	 */
	
	DELETE FROM srt.moving 
		WHERE bufferFromFk = 0;
	
	INSERT INTO srt.sorterLog(`action`) VALUES('RESTART');

END$$
DELIMITER ;
