DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `hedera`.`order_confirm`(vSelf INT) BEGIN /** * Confirms an order, creating each of its tickets on * the corresponding date and store. * * @param vSelf The order identifier */ DECLARE vUser INT DEFAULT account.myUser_getId(); CALL order_confirmWithUser(vSelf, vUser); END$$ DELIMITER ;