DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`travel_requestRecalc`(vSelf INT)
proc: BEGIN
/**
 * Adds a request to recount the number of entries for the travel.
 *
 * @param vSelf The travel reference
 */
	IF vSelf IS NULL THEN
		LEAVE proc;
	END IF;
    
    INSERT IGNORE INTO travelRecalc SET travelFk = vSelf;
END$$
DELIMITER ;
