salix/db/routines/hedera/procedures/order_confirm.sql

14 lines
361 B
MySQL
Raw Permalink Normal View History

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 ;