14 lines
361 B
MySQL
14 lines
361 B
MySQL
|
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 ;
|